Browse Source

[media] via-camera: Include media/v4l2-image-sizes.h

So we can remove the same defines in the driver code.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Axel Lin 11 years ago
parent
commit
c0d04f4026
1 changed files with 1 additions and 8 deletions
  1. 1 8
      drivers/media/platform/via-camera.c

+ 1 - 8
drivers/media/platform/via-camera.c

@@ -18,6 +18,7 @@
 #include <media/v4l2-device.h>
 #include <media/v4l2-ioctl.h>
 #include <media/v4l2-ctrls.h>
+#include <media/v4l2-image-sizes.h>
 #include <media/ov7670.h>
 #include <media/videobuf-dma-sg.h>
 #include <linux/delay.h>
@@ -48,14 +49,6 @@ MODULE_PARM_DESC(override_serial,
 		"the XO 1.5 serial port is enabled.  Set this option "
 		"to force-enable the camera.");
 
-/*
- * Basic window sizes.
- */
-#define VGA_WIDTH	640
-#define VGA_HEIGHT	480
-#define QCIF_WIDTH	176
-#define	QCIF_HEIGHT	144
-
 /*
  * The structure describing our camera.
  */