summaryrefslogtreecommitdiff
path: root/arch/sh/boards/mach-ap325rxa
diff options
context:
space:
mode:
authorJesper Juhl <jj@chaosbits.net>2011-07-10 01:16:22 +0400
committerJiri Kosina <jkosina@suse.cz>2011-07-11 16:13:46 +0400
commite04008eb38d8b0e3bca926c23cbea309edce164b (patch)
treea044e81412960464a986e34057237211bfdbf507 /arch/sh/boards/mach-ap325rxa
parent628d7f697c9bcde82620895d25848c301e43ac30 (diff)
downloadlinux-e04008eb38d8b0e3bca926c23cbea309edce164b.tar.xz
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-ap325rxa')
-rw-r--r--arch/sh/boards/mach-ap325rxa/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/boards/mach-ap325rxa/setup.c b/arch/sh/boards/mach-ap325rxa/setup.c
index 969421f64a15..1dc924b2f508 100644
--- a/arch/sh/boards/mach-ap325rxa/setup.c
+++ b/arch/sh/boards/mach-ap325rxa/setup.c
@@ -188,7 +188,7 @@ static void ap320_wvga_power_off(void *board_data)
__raw_writew(0, FPGA_LCDREG);
}
-const static struct fb_videomode ap325rxa_lcdc_modes[] = {
+static const struct fb_videomode ap325rxa_lcdc_modes[] = {
{
.name = "LB070WV1",
.xres = 800,