diff options
author | Marco Schluessler <marco@lordzodiac.de> | 2007-10-31 00:20:42 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-01-25 16:01:52 -0500 |
commit | 58a44040b4937c7d16b79a1b3048992eeac9853b (patch) | |
tree | 2159a364561c95dd7c0269ade08d7ef79359aa1b /drivers/media/dvb/ttpci/av7110_av.c | |
parent | c5d857d5d3a7cfe355d93916fc094035c85147f7 (diff) |
V4L/DVB (6497): saa7146/budget*/dvb-ttpci: Remove V4L1 code
Remove V4L1 code.
Signed-off-by: Marco Schluessler <marco@lordzodiac.de>
Signed-off-by: Oliver Endriss <o.endriss@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/ttpci/av7110_av.c')
-rw-r--r-- | drivers/media/dvb/ttpci/av7110_av.c | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/drivers/media/dvb/ttpci/av7110_av.c b/drivers/media/dvb/ttpci/av7110_av.c index d75e7e48addc..aef6e36d7c5c 100644 --- a/drivers/media/dvb/ttpci/av7110_av.c +++ b/drivers/media/dvb/ttpci/av7110_av.c | |||
@@ -329,7 +329,7 @@ int av7110_set_volume(struct av7110 *av7110, int volleft, int volright) | |||
329 | return 0; | 329 | return 0; |
330 | } | 330 | } |
331 | 331 | ||
332 | int av7110_set_vidmode(struct av7110 *av7110, int mode) | 332 | int av7110_set_vidmode(struct av7110 *av7110, enum av7110_video_mode mode) |
333 | { | 333 | { |
334 | int ret; | 334 | int ret; |
335 | dprintk(2, "av7110:%p, \n", av7110); | 335 | dprintk(2, "av7110:%p, \n", av7110); |
@@ -348,11 +348,15 @@ int av7110_set_vidmode(struct av7110 *av7110, int mode) | |||
348 | } | 348 | } |
349 | 349 | ||
350 | 350 | ||
351 | static int sw2mode[16] = { | 351 | static enum av7110_video_mode sw2mode[16] = { |
352 | VIDEO_MODE_PAL, VIDEO_MODE_NTSC, VIDEO_MODE_NTSC, VIDEO_MODE_PAL, | 352 | AV7110_VIDEO_MODE_PAL, AV7110_VIDEO_MODE_NTSC, |
353 | VIDEO_MODE_NTSC, VIDEO_MODE_NTSC, VIDEO_MODE_PAL, VIDEO_MODE_NTSC, | 353 | AV7110_VIDEO_MODE_NTSC, AV7110_VIDEO_MODE_PAL, |
354 | VIDEO_MODE_PAL, VIDEO_MODE_PAL, VIDEO_MODE_PAL, VIDEO_MODE_PAL, | 354 | AV7110_VIDEO_MODE_NTSC, AV7110_VIDEO_MODE_NTSC, |
355 | VIDEO_MODE_PAL, VIDEO_MODE_PAL, VIDEO_MODE_PAL, VIDEO_MODE_PAL, | 355 | AV7110_VIDEO_MODE_PAL, AV7110_VIDEO_MODE_NTSC, |
356 | AV7110_VIDEO_MODE_PAL, AV7110_VIDEO_MODE_PAL, | ||
357 | AV7110_VIDEO_MODE_PAL, AV7110_VIDEO_MODE_PAL, | ||
358 | AV7110_VIDEO_MODE_PAL, AV7110_VIDEO_MODE_PAL, | ||
359 | AV7110_VIDEO_MODE_PAL, AV7110_VIDEO_MODE_PAL, | ||
356 | }; | 360 | }; |
357 | 361 | ||
358 | static int get_video_format(struct av7110 *av7110, u8 *buf, int count) | 362 | static int get_video_format(struct av7110 *av7110, u8 *buf, int count) |