summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/via-camera.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-08-09 08:20:01 +0200
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-08-21 22:25:37 +0200
commitc0d04f4026c305eadeac6cfdffdbac5fcdf9bc60 (patch)
tree319ebdb1375b0eba32d350b4caed40ee145b8c19 /drivers/media/platform/via-camera.c
parent[media] sh_veu: Include media/v4l2-image-sizes.h (diff)
downloadlinux-c0d04f4026c305eadeac6cfdffdbac5fcdf9bc60.tar.xz
linux-c0d04f4026c305eadeac6cfdffdbac5fcdf9bc60.zip
[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 <axel.lin@ingics.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/platform/via-camera.c')
-rw-r--r--drivers/media/platform/via-camera.c9
1 files changed, 1 insertions, 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 <media/v4l2-device.h>
#include <media/v4l2-ioctl.h>
#include <media/v4l2-ctrls.h>
+#include <media/v4l2-image-sizes.h>
#include <media/ov7670.h>
#include <media/videobuf-dma-sg.h>
#include <linux/delay.h>
@@ -49,14 +50,6 @@ MODULE_PARM_DESC(override_serial,
"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.
*/
enum viacam_opstate { S_IDLE = 0, S_RUNNING = 1 };