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>
This commit is contained in:
@@ -233,7 +233,7 @@ static struct platform_device usb1_common_device = {
|
||||
};
|
||||
|
||||
/* LCDC */
|
||||
const static struct fb_videomode ecovec_lcd_modes[] = {
|
||||
static const struct fb_videomode ecovec_lcd_modes[] = {
|
||||
{
|
||||
.name = "Panel",
|
||||
.xres = 800,
|
||||
@@ -248,7 +248,7 @@ const static struct fb_videomode ecovec_lcd_modes[] = {
|
||||
},
|
||||
};
|
||||
|
||||
const static struct fb_videomode ecovec_dvi_modes[] = {
|
||||
static const struct fb_videomode ecovec_dvi_modes[] = {
|
||||
{
|
||||
.name = "DVI",
|
||||
.xres = 1280,
|
||||
|
Reference in New Issue
Block a user