From: Jesper Juhl Date: Sat, 9 Jul 2011 21:22:17 +0000 (-0300) Subject: [media] drivers/media: static should be at beginning of declaration X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0d334f7f7ad7566d7ee6b0b1a8bc92e83b21b941;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [media] drivers/media: static should be at beginning of declaration Make sure that the 'static' keywork is at the beginning of declaration for drivers/media/video/omap/omap_vout.c This gets rid of warnings like when building with -Wold-style-declaration (and/or -Wextra which also enables it). Signed-off-by: Jesper Juhl Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/omap/omap_vout.c b/drivers/media/video/omap/omap_vout.c index 4d07c5844402..a647894d3a71 100644 --- a/drivers/media/video/omap/omap_vout.c +++ b/drivers/media/video/omap/omap_vout.c @@ -129,7 +129,7 @@ module_param(debug, bool, S_IRUGO); MODULE_PARM_DESC(debug, "Debug level (0-1)"); /* list of image formats supported by OMAP2 video pipelines */ -const static struct v4l2_fmtdesc omap_formats[] = { +static const struct v4l2_fmtdesc omap_formats[] = { { /* Note: V4L2 defines RGB565 as: *