From: Axel Lin <axel.lin@ingics.com> Date: Sat, 9 Aug 2014 06:19:20 +0000 (-0300) Subject: [media] sh_veu: Include media/v4l2-image-sizes.h X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=7c5a62e1eee1f59a5d2c25bbd28f0929811ffefa;p=linux.git [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> --- diff --git a/drivers/media/platform/sh_veu.c b/drivers/media/platform/sh_veu.c index 8dc279d4d5610..be3b3bc71a0fc 100644 --- a/drivers/media/platform/sh_veu.c +++ b/drivers/media/platform/sh_veu.c @@ -26,6 +26,7 @@ #include <media/v4l2-device.h> #include <media/v4l2-ioctl.h> #include <media/v4l2-mem2mem.h> +#include <media/v4l2-image-sizes.h> #include <media/videobuf2-dma-contig.h> #define VEU_STR 0x00 /* start register */ @@ -135,9 +136,6 @@ enum sh_veu_fmt_idx { SH_VEU_FMT_RGB24, }; -#define VGA_WIDTH 640 -#define VGA_HEIGHT 480 - #define DEFAULT_IN_WIDTH VGA_WIDTH #define DEFAULT_IN_HEIGHT VGA_HEIGHT #define DEFAULT_IN_FMTIDX SH_VEU_FMT_NV12