summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJesper Juhl <jj@chaosbits.net>2011-07-09 23:22:17 +0200
committerJiri Kosina <jkosina@suse.cz>2011-07-11 14:13:47 +0200
commitc172d82500a6cf3c32d1e650722a1055d72ce858 (patch)
tree44a1cd813fe1c82eb1152d83a68720b15cd2a2a6 /drivers
parent32575a9183c82a5ea0f9ed1bcf13c17189ea1118 (diff)
downloadop-kernel-dev-c172d82500a6cf3c32d1e650722a1055d72ce858.zip
op-kernel-dev-c172d82500a6cf3c32d1e650722a1055d72ce858.tar.gz
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/omap/omap_vout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/omap/omap_vout.c b/drivers/media/video/omap/omap_vout.c
index 4ada9be..bb17f79 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:
*
OpenPOWER on IntegriCloud