diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2014-04-28 15:53:01 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-05-24 16:11:26 -0400 |
commit | 8774bed9ce832d8d9ccb79e92800b808aa2d2ad2 (patch) | |
tree | 30756d116a47317fff754ca0f976cf5134033756 /drivers/media/i2c/sony-btf-mpx.c | |
parent | 85ada737b9d9ede7dbb17e831d3b4bb187dc1915 (diff) |
[media] v4l: subdev: Move [gs]_std operation to video ops
The g_std and s_std operations are video-related, move them to the video
ops where they belong.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/i2c/sony-btf-mpx.c')
-rw-r--r-- | drivers/media/i2c/sony-btf-mpx.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/media/i2c/sony-btf-mpx.c b/drivers/media/i2c/sony-btf-mpx.c index 32d82320b485..1da8004f5a8e 100644 --- a/drivers/media/i2c/sony-btf-mpx.c +++ b/drivers/media/i2c/sony-btf-mpx.c | |||
@@ -327,18 +327,18 @@ static int sony_btf_mpx_s_tuner(struct v4l2_subdev *sd, const struct v4l2_tuner | |||
327 | 327 | ||
328 | /* --------------------------------------------------------------------------*/ | 328 | /* --------------------------------------------------------------------------*/ |
329 | 329 | ||
330 | static const struct v4l2_subdev_core_ops sony_btf_mpx_core_ops = { | ||
331 | .s_std = sony_btf_mpx_s_std, | ||
332 | }; | ||
333 | |||
334 | static const struct v4l2_subdev_tuner_ops sony_btf_mpx_tuner_ops = { | 330 | static const struct v4l2_subdev_tuner_ops sony_btf_mpx_tuner_ops = { |
335 | .s_tuner = sony_btf_mpx_s_tuner, | 331 | .s_tuner = sony_btf_mpx_s_tuner, |
336 | .g_tuner = sony_btf_mpx_g_tuner, | 332 | .g_tuner = sony_btf_mpx_g_tuner, |
337 | }; | 333 | }; |
338 | 334 | ||
335 | static const struct v4l2_subdev_video_ops sony_btf_mpx_video_ops = { | ||
336 | .s_std = sony_btf_mpx_s_std, | ||
337 | }; | ||
338 | |||
339 | static const struct v4l2_subdev_ops sony_btf_mpx_ops = { | 339 | static const struct v4l2_subdev_ops sony_btf_mpx_ops = { |
340 | .core = &sony_btf_mpx_core_ops, | ||
341 | .tuner = &sony_btf_mpx_tuner_ops, | 340 | .tuner = &sony_btf_mpx_tuner_ops, |
341 | .video = &sony_btf_mpx_video_ops, | ||
342 | }; | 342 | }; |
343 | 343 | ||
344 | /* --------------------------------------------------------------------------*/ | 344 | /* --------------------------------------------------------------------------*/ |