From: Axel Lin Date: Sat, 9 Aug 2014 06:20:01 +0000 (-0300) Subject: [media] via-camera: Include media/v4l2-image-sizes.h X-Git-Tag: firefly_0821_release~176^2~2474^2~838 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c0d04f4026c305eadeac6cfdffdbac5fcdf9bc60;p=firefly-linux-kernel-4.4.55.git [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 Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/via-camera.c b/drivers/media/platform/via-camera.c index b4f9d03636e3..2ac870438493 100644 --- a/drivers/media/platform/via-camera.c +++ b/drivers/media/platform/via-camera.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include @@ -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. */