From: Axel Lin Date: Sat, 9 Aug 2014 06:00:44 +0000 (-0300) Subject: [media] soc_camera: mt9t112: Include media/v4l2-image-sizes.h X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=665152a4fb9f60df1c28cee8ab2634a6533edb9c;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [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 Signed-off-by: Mauro Carvalho Chehab --- 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 #include #include +#include /* 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 */