ARM: static should be at beginning of declaration
authorJesper Juhl <jj@chaosbits.net>
Sat, 9 Jul 2011 21:11:14 +0000 (23:11 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 11 Jul 2011 12:13:46 +0000 (14:13 +0200)
Make sure that the 'static' keywork is at the beginning of declaration
for arch/arm/mach-shmobile/board-ap4evb.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>
arch/arm/mach-shmobile/board-ap4evb.c

index f6b687f..04bc123 100644 (file)
@@ -443,7 +443,7 @@ static struct platform_device usb1_host_device = {
        .resource       = usb1_host_resources,
 };
 
-const static struct fb_videomode ap4evb_lcdc_modes[] = {
+static const struct fb_videomode ap4evb_lcdc_modes[] = {
        {
 #ifdef CONFIG_AP4EVB_QHD
                .name           = "R63302(QHD)",