From c0d04f4026c305eadeac6cfdffdbac5fcdf9bc60 Mon Sep 17 00:00:00 2001 From: Axel Lin Date: Sat, 9 Aug 2014 03:20:01 -0300 Subject: [PATCH] [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 --- drivers/media/platform/via-camera.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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. */ -- 2.39.5