]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
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 803bc6edfca477a6c67634f0ad9c435338b89502..bb4e084920b8e6612e2075e6cc66409eb94a9b47 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)",