summaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/mach-se/7724/setup.c
diff options
context:
space:
mode:
authorJesper Juhl <jj@chaosbits.net>2011-07-09 21:16:22 +0000
committerPaul Mundt <lethal@linux-sh.org>2011-07-11 15:07:38 +0900
commit536628d0983f1c6a7ccece28ded635661aa30319 (patch)
treea05dbcfe722e37d9d2a1ef0130b46bcca56eee3a /arch/sh/boards/mach-se/7724/setup.c
parent1522043bf73ef0e9e61dc512a0f3cdbec1cbf89f (diff)
downloadop-kernel-dev-536628d0983f1c6a7ccece28ded635661aa30319.zip
op-kernel-dev-536628d0983f1c6a7ccece28ded635661aa30319.tar.gz
SH: static should be at beginning of declaration
Make sure that the 'static' keywork is at the beginning of declaration for arch/sh/* 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>
Diffstat (limited to 'arch/sh/boards/mach-se/7724/setup.c')
-rw-r--r--arch/sh/boards/mach-se/7724/setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/boards/mach-se/7724/setup.c b/arch/sh/boards/mach-se/7724/setup.c
index 1235767..d007567 100644
--- a/arch/sh/boards/mach-se/7724/setup.c
+++ b/arch/sh/boards/mach-se/7724/setup.c
@@ -145,7 +145,7 @@ static struct platform_device nor_flash_device = {
};
/* LCDC */
-const static struct fb_videomode lcdc_720p_modes[] = {
+static const struct fb_videomode lcdc_720p_modes[] = {
{
.name = "LB070WV1",
.sync = 0, /* hsync and vsync are active low */
@@ -160,7 +160,7 @@ const static struct fb_videomode lcdc_720p_modes[] = {
},
};
-const static struct fb_videomode lcdc_vga_modes[] = {
+static const struct fb_videomode lcdc_vga_modes[] = {
{
.name = "LB070WV1",
.sync = 0, /* hsync and vsync are active low */
OpenPOWER on IntegriCloud