aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/zoran.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-04-15 17:11:50 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 13:09:40 -0400
commit17de9a4e53567912735105e189535f5d83e74a81 (patch)
tree3ba441d22496b067f4d2dfe28884ee4ff9639675 /drivers/media/video/zoran.h
parent0b9c2b7a413c0e79254f17bbe095cee24885cd4b (diff)
V4L/DVB (7584): Fix build that occurs when CONFIG_VIDEO_PMS=y and VIDEO_V4L2_COMMON=m
This patch removes zoran checks for VIDEO_V4L2, since this API is always present, when V4L is selected. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/zoran.h')
-rw-r--r--drivers/media/video/zoran.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/drivers/media/video/zoran.h b/drivers/media/video/zoran.h
index 498a43c1f2b1..81cc3b00a079 100644
--- a/drivers/media/video/zoran.h
+++ b/drivers/media/video/zoran.h
@@ -243,10 +243,8 @@ struct zoran_format {
243#ifdef CONFIG_VIDEO_V4L1_COMPAT 243#ifdef CONFIG_VIDEO_V4L1_COMPAT
244 int palette; 244 int palette;
245#endif 245#endif
246#ifdef CONFIG_VIDEO_V4L2
247 __u32 fourcc; 246 __u32 fourcc;
248 int colorspace; 247 int colorspace;
249#endif
250 int depth; 248 int depth;
251 __u32 flags; 249 __u32 flags;
252 __u32 vfespfr; 250 __u32 vfespfr;
@@ -271,20 +269,6 @@ struct zoran_v4l_settings {
271 const struct zoran_format *format; /* capture format */ 269 const struct zoran_format *format; /* capture format */
272}; 270};
273 271
274/* whoops, this one is undeclared if !v4l2 */
275#ifndef CONFIG_VIDEO_V4L2
276struct v4l2_jpegcompression {
277 int quality;
278 int APPn;
279 int APP_len;
280 char APP_data[60];
281 int COM_len;
282 char COM_data[60];
283 __u32 jpeg_markers;
284 __u8 reserved[116];
285};
286#endif
287
288/* jpg-capture/-playback settings */ 272/* jpg-capture/-playback settings */
289struct zoran_jpg_settings { 273struct zoran_jpg_settings {
290 int decimation; /* this bit is used to set everything to default */ 274 int decimation; /* this bit is used to set everything to default */