aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-08-09 02:19:20 -0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-08-21 16:25:37 -0400
commit7c5a62e1eee1f59a5d2c25bbd28f0929811ffefa (patch)
treeb000fa301d2b2b77d8ee2624508ca08838192ab2 /drivers
parent91ba0e59babdb3c7aca836a65f1095b3eaff7b06 (diff)
[media] sh_veu: 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')
-rw-r--r--drivers/media/platform/sh_veu.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/platform/sh_veu.c b/drivers/media/platform/sh_veu.c
index 8dc279d4d561..be3b3bc71a0f 100644
--- a/drivers/media/platform/sh_veu.c
+++ b/drivers/media/platform/sh_veu.c
@@ -26,6 +26,7 @@
26#include <media/v4l2-device.h> 26#include <media/v4l2-device.h>
27#include <media/v4l2-ioctl.h> 27#include <media/v4l2-ioctl.h>
28#include <media/v4l2-mem2mem.h> 28#include <media/v4l2-mem2mem.h>
29#include <media/v4l2-image-sizes.h>
29#include <media/videobuf2-dma-contig.h> 30#include <media/videobuf2-dma-contig.h>
30 31
31#define VEU_STR 0x00 /* start register */ 32#define VEU_STR 0x00 /* start register */
@@ -135,9 +136,6 @@ enum sh_veu_fmt_idx {
135 SH_VEU_FMT_RGB24, 136 SH_VEU_FMT_RGB24,
136}; 137};
137 138
138#define VGA_WIDTH 640
139#define VGA_HEIGHT 480
140
141#define DEFAULT_IN_WIDTH VGA_WIDTH 139#define DEFAULT_IN_WIDTH VGA_WIDTH
142#define DEFAULT_IN_HEIGHT VGA_HEIGHT 140#define DEFAULT_IN_HEIGHT VGA_HEIGHT
143#define DEFAULT_IN_FMTIDX SH_VEU_FMT_NV12 141#define DEFAULT_IN_FMTIDX SH_VEU_FMT_NV12