diff options
author | Jesper Juhl <jj@chaosbits.net> | 2011-07-09 17:16:22 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2011-07-11 08:13:46 -0400 |
commit | e04008eb38d8b0e3bca926c23cbea309edce164b (patch) | |
tree | a044e81412960464a986e34057237211bfdbf507 /arch/sh/boards/mach-ecovec24/setup.c | |
parent | 628d7f697c9bcde82620895d25848c301e43ac30 (diff) |
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: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'arch/sh/boards/mach-ecovec24/setup.c')
-rw-r--r-- | arch/sh/boards/mach-ecovec24/setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c index 3a32741cc0ac..f80478f36d56 100644 --- a/arch/sh/boards/mach-ecovec24/setup.c +++ b/arch/sh/boards/mach-ecovec24/setup.c | |||
@@ -233,7 +233,7 @@ static struct platform_device usb1_common_device = { | |||
233 | }; | 233 | }; |
234 | 234 | ||
235 | /* LCDC */ | 235 | /* LCDC */ |
236 | const static struct fb_videomode ecovec_lcd_modes[] = { | 236 | static const struct fb_videomode ecovec_lcd_modes[] = { |
237 | { | 237 | { |
238 | .name = "Panel", | 238 | .name = "Panel", |
239 | .xres = 800, | 239 | .xres = 800, |
@@ -248,7 +248,7 @@ const static struct fb_videomode ecovec_lcd_modes[] = { | |||
248 | }, | 248 | }, |
249 | }; | 249 | }; |
250 | 250 | ||
251 | const static struct fb_videomode ecovec_dvi_modes[] = { | 251 | static const struct fb_videomode ecovec_dvi_modes[] = { |
252 | { | 252 | { |
253 | .name = "DVI", | 253 | .name = "DVI", |
254 | .xres = 1280, | 254 | .xres = 1280, |