diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-21 00:14:42 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-21 00:14:42 -0400 |
commit | f894d18380e7e7ff05f6622ccb75d2881922c6e9 (patch) | |
tree | e3c11b831b68096239a49dec539a49e49c1d90b7 /drivers/media/video/cx88/cx88-video.c | |
parent | d13ff0559fea73f237a01669887d2c10e11d7662 (diff) | |
parent | d20b27478d6ccf7c4c8de4f09db2bdbaec82a6c0 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb
* git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb: (277 commits)
V4L/DVB (8415): gspca: Infinite loop in i2c_w() of etoms.
V4L/DVB (8414): videodev/cx18: fix get_index bug and error-handling lock-ups
V4L/DVB (8411): videobuf-dma-contig.c: fix 64-bit build for pre-2.6.24 kernels
V4L/DVB (8410): sh_mobile_ceu_camera: fix 64-bit compiler warnings
V4L/DVB (8397): video: convert select VIDEO_ZORAN_ZR36060 into depends on
V4L/DVB (8396): video: Fix Kbuild dependency for VIDEO_IR_I2C
V4L/DVB (8395): saa7134: Fix Kbuild dependency of ir-kbd-i2c
V4L/DVB (8394): ir-common: CodingStyle fix: move EXPORT_SYMBOL_GPL to their proper places
V4L/DVB (8393): media/video: Fix depencencies for VIDEOBUF
V4L/DVB (8392): media/Kconfig: Convert V4L1_COMPAT select into "depends on"
V4L/DVB (8390): videodev: add comment and remove magic number.
V4L/DVB (8389): videodev: simplify get_index()
V4L/DVB (8387): Some cosmetic changes
V4L/DVB (8381): ov7670: fix compile warnings
V4L/DVB (8380): saa7115: use saa7115_auto instead of saa711x as the autodetect driver name.
V4L/DVB (8379): saa7127: Make device detection optional
V4L/DVB (8378): cx18: move cx18_av_vbi_setup to av-core.c and rename to cx18_av_std_setup
V4L/DVB (8377): ivtv/cx18: ensure the default control values are correct
V4L/DVB (8376): cx25840: move cx25840_vbi_setup to core.c and rename to cx25840_std_setup
V4L/DVB (8374): gspca: No conflict of 0c45:6011 with the sn9c102 driver.
...
Diffstat (limited to 'drivers/media/video/cx88/cx88-video.c')
-rw-r--r-- | drivers/media/video/cx88/cx88-video.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/media/video/cx88/cx88-video.c b/drivers/media/video/cx88/cx88-video.c index eea23f95edb7..0fed5cd2ccea 100644 --- a/drivers/media/video/cx88/cx88-video.c +++ b/drivers/media/video/cx88/cx88-video.c | |||
@@ -1045,7 +1045,7 @@ static void init_controls(struct cx88_core *core) | |||
1045 | /* ------------------------------------------------------------------ */ | 1045 | /* ------------------------------------------------------------------ */ |
1046 | /* VIDEO IOCTLS */ | 1046 | /* VIDEO IOCTLS */ |
1047 | 1047 | ||
1048 | static int vidioc_g_fmt_cap (struct file *file, void *priv, | 1048 | static int vidioc_g_fmt_vid_cap(struct file *file, void *priv, |
1049 | struct v4l2_format *f) | 1049 | struct v4l2_format *f) |
1050 | { | 1050 | { |
1051 | struct cx8800_fh *fh = priv; | 1051 | struct cx8800_fh *fh = priv; |
@@ -1061,7 +1061,7 @@ static int vidioc_g_fmt_cap (struct file *file, void *priv, | |||
1061 | return 0; | 1061 | return 0; |
1062 | } | 1062 | } |
1063 | 1063 | ||
1064 | static int vidioc_try_fmt_cap (struct file *file, void *priv, | 1064 | static int vidioc_try_fmt_vid_cap(struct file *file, void *priv, |
1065 | struct v4l2_format *f) | 1065 | struct v4l2_format *f) |
1066 | { | 1066 | { |
1067 | struct cx88_core *core = ((struct cx8800_fh *)priv)->dev->core; | 1067 | struct cx88_core *core = ((struct cx8800_fh *)priv)->dev->core; |
@@ -1112,11 +1112,11 @@ static int vidioc_try_fmt_cap (struct file *file, void *priv, | |||
1112 | return 0; | 1112 | return 0; |
1113 | } | 1113 | } |
1114 | 1114 | ||
1115 | static int vidioc_s_fmt_cap (struct file *file, void *priv, | 1115 | static int vidioc_s_fmt_vid_cap(struct file *file, void *priv, |
1116 | struct v4l2_format *f) | 1116 | struct v4l2_format *f) |
1117 | { | 1117 | { |
1118 | struct cx8800_fh *fh = priv; | 1118 | struct cx8800_fh *fh = priv; |
1119 | int err = vidioc_try_fmt_cap (file,priv,f); | 1119 | int err = vidioc_try_fmt_vid_cap (file,priv,f); |
1120 | 1120 | ||
1121 | if (0 != err) | 1121 | if (0 != err) |
1122 | return err; | 1122 | return err; |
@@ -1147,7 +1147,7 @@ static int vidioc_querycap (struct file *file, void *priv, | |||
1147 | return 0; | 1147 | return 0; |
1148 | } | 1148 | } |
1149 | 1149 | ||
1150 | static int vidioc_enum_fmt_cap (struct file *file, void *priv, | 1150 | static int vidioc_enum_fmt_vid_cap (struct file *file, void *priv, |
1151 | struct v4l2_fmtdesc *f) | 1151 | struct v4l2_fmtdesc *f) |
1152 | { | 1152 | { |
1153 | if (unlikely(f->index >= ARRAY_SIZE(formats))) | 1153 | if (unlikely(f->index >= ARRAY_SIZE(formats))) |
@@ -1690,13 +1690,13 @@ static struct video_device cx8800_video_template = | |||
1690 | .fops = &video_fops, | 1690 | .fops = &video_fops, |
1691 | .minor = -1, | 1691 | .minor = -1, |
1692 | .vidioc_querycap = vidioc_querycap, | 1692 | .vidioc_querycap = vidioc_querycap, |
1693 | .vidioc_enum_fmt_cap = vidioc_enum_fmt_cap, | 1693 | .vidioc_enum_fmt_vid_cap = vidioc_enum_fmt_vid_cap, |
1694 | .vidioc_g_fmt_cap = vidioc_g_fmt_cap, | 1694 | .vidioc_g_fmt_vid_cap = vidioc_g_fmt_vid_cap, |
1695 | .vidioc_try_fmt_cap = vidioc_try_fmt_cap, | 1695 | .vidioc_try_fmt_vid_cap = vidioc_try_fmt_vid_cap, |
1696 | .vidioc_s_fmt_cap = vidioc_s_fmt_cap, | 1696 | .vidioc_s_fmt_vid_cap = vidioc_s_fmt_vid_cap, |
1697 | .vidioc_g_fmt_vbi = cx8800_vbi_fmt, | 1697 | .vidioc_g_fmt_vbi_cap = cx8800_vbi_fmt, |
1698 | .vidioc_try_fmt_vbi = cx8800_vbi_fmt, | 1698 | .vidioc_try_fmt_vbi_cap = cx8800_vbi_fmt, |
1699 | .vidioc_s_fmt_vbi = cx8800_vbi_fmt, | 1699 | .vidioc_s_fmt_vbi_cap = cx8800_vbi_fmt, |
1700 | .vidioc_reqbufs = vidioc_reqbufs, | 1700 | .vidioc_reqbufs = vidioc_reqbufs, |
1701 | .vidioc_querybuf = vidioc_querybuf, | 1701 | .vidioc_querybuf = vidioc_querybuf, |
1702 | .vidioc_qbuf = vidioc_qbuf, | 1702 | .vidioc_qbuf = vidioc_qbuf, |