]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] media: davinci: vpif_capture: group v4l2_ioctl_ops
authorLad, Prabhakar <prabhakar.csengg@gmail.com>
Fri, 16 May 2014 13:33:49 +0000 (10:33 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sat, 24 May 2014 19:42:39 +0000 (16:42 -0300)
this patch groups the v4l2_ioctl_ops and align them appropriately.

Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/davinci/vpif_capture.c

index c6b06019529f2c4842c63d7b75d2b49d27fa8490..799c226d0995ea57d28f88d38044006d181adf87 100644 (file)
@@ -1287,11 +1287,12 @@ static int vpif_log_status(struct file *filep, void *priv)
 
 /* vpif capture ioctl operations */
 static const struct v4l2_ioctl_ops vpif_ioctl_ops = {
-       .vidioc_querycap                = vpif_querycap,
+       .vidioc_querycap                = vpif_querycap,
        .vidioc_enum_fmt_vid_cap        = vpif_enum_fmt_vid_cap,
-       .vidioc_g_fmt_vid_cap           = vpif_g_fmt_vid_cap,
+       .vidioc_g_fmt_vid_cap           = vpif_g_fmt_vid_cap,
        .vidioc_s_fmt_vid_cap           = vpif_s_fmt_vid_cap,
        .vidioc_try_fmt_vid_cap         = vpif_try_fmt_vid_cap,
+
        .vidioc_enum_input              = vpif_enum_input,
        .vidioc_s_input                 = vpif_s_input,
        .vidioc_g_input                 = vpif_g_input,
@@ -1306,13 +1307,14 @@ static const struct v4l2_ioctl_ops vpif_ioctl_ops = {
        .vidioc_streamoff               = vb2_ioctl_streamoff,
 
        .vidioc_querystd                = vpif_querystd,
-       .vidioc_s_std                   = vpif_s_std,
+       .vidioc_s_std                   = vpif_s_std,
        .vidioc_g_std                   = vpif_g_std,
 
-       .vidioc_enum_dv_timings         = vpif_enum_dv_timings,
-       .vidioc_query_dv_timings        = vpif_query_dv_timings,
-       .vidioc_s_dv_timings            = vpif_s_dv_timings,
-       .vidioc_g_dv_timings            = vpif_g_dv_timings,
+       .vidioc_enum_dv_timings         = vpif_enum_dv_timings,
+       .vidioc_query_dv_timings        = vpif_query_dv_timings,
+       .vidioc_s_dv_timings            = vpif_s_dv_timings,
+       .vidioc_g_dv_timings            = vpif_g_dv_timings,
+
        .vidioc_log_status              = vpif_log_status,
 };