summaryrefslogtreecommitdiffstats
path: root/drivers/media/i2c/soc_camera
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-08-09 03:00:44 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-08-21 15:25:36 -0500
commit665152a4fb9f60df1c28cee8ab2634a6533edb9c (patch)
tree31cb14b64f0d32cb86c3c331311f335d97277eab /drivers/media/i2c/soc_camera
parent37096b476b45e60b2b264d0b517089b47cb9374b (diff)
downloadlinux-665152a4fb9f60df1c28cee8ab2634a6533edb9c.tar.gz
linux-665152a4fb9f60df1c28cee8ab2634a6533edb9c.tar.bz2
linux-665152a4fb9f60df1c28cee8ab2634a6533edb9c.zip
[media] soc_camera: mt9t112: 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>
Diffstat (limited to 'drivers/media/i2c/soc_camera')
-rw-r--r--drivers/media/i2c/soc_camera/mt9t112.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/i2c/soc_camera/mt9t112.c b/drivers/media/i2c/soc_camera/mt9t112.c
index 46f431a13782..996d7b4007a5 100644
--- a/drivers/media/i2c/soc_camera/mt9t112.c
+++ b/drivers/media/i2c/soc_camera/mt9t112.c
@@ -29,6 +29,7 @@
#include <media/soc_camera.h>
#include <media/v4l2-clk.h>
#include <media/v4l2-common.h>
+#include <media/v4l2-image-sizes.h>
/* you can check PLL/clock info */
/* #define EXT_CLOCK 24000000 */
@@ -42,9 +43,6 @@
#define MAX_WIDTH 2048
#define MAX_HEIGHT 1536
-#define VGA_WIDTH 640
-#define VGA_HEIGHT 480
-
/*
* macro of read/write
*/