[media] soc_camera: ov772x: Include media/v4l2-image-sizes.h
authorAxel Lin <axel.lin@ingics.com>
Sat, 9 Aug 2014 06:01:39 +0000 (03:01 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 21 Aug 2014 20:25:36 +0000 (15:25 -0500)
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>
drivers/media/i2c/soc_camera/ov772x.c

index 7f2b3c8..970a04e 100644 (file)
@@ -29,6 +29,7 @@
 #include <media/v4l2-clk.h>
 #include <media/v4l2-ctrls.h>
 #include <media/v4l2-subdev.h>
+#include <media/v4l2-image-sizes.h>
 
 /*
  * register offset
 #define SCAL0_ACTRL     0x08 /* Auto scaling factor control */
 #define SCAL1_2_ACTRL   0x04 /* Auto scaling factor control */
 
-#define VGA_WIDTH              640
-#define VGA_HEIGHT             480
-#define QVGA_WIDTH             320
-#define QVGA_HEIGHT            240
 #define OV772X_MAX_WIDTH       VGA_WIDTH
 #define OV772X_MAX_HEIGHT      VGA_HEIGHT