ARM: static should be at beginning of declaration
authorJesper Juhl <jj@chaosbits.net>
Sat, 9 Jul 2011 21:11:14 +0000 (21:11 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 11 Jul 2011 06:11:40 +0000 (15:11 +0900)
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: Paul Mundt <lethal@linux-sh.org>
arch/arm/mach-shmobile/board-ap4evb.c

index 803bc6e..bb4e084 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)",