Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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
warning: ‘static’ is not at beginning of declaration
when building with -Wold-style-declaration (and/or -Wextra which also
enables it).

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>

authored by

Jesper Juhl and committed by
Jiri Kosina
c172d825 32575a91

+1 -1
+1 -1
drivers/media/video/omap/omap_vout.c
··· 129 129 MODULE_PARM_DESC(debug, "Debug level (0-1)"); 130 130 131 131 /* list of image formats supported by OMAP2 video pipelines */ 132 - const static struct v4l2_fmtdesc omap_formats[] = { 132 + static const struct v4l2_fmtdesc omap_formats[] = { 133 133 { 134 134 /* Note: V4L2 defines RGB565 as: 135 135 *