From: Jesper Juhl Date: Sat, 9 Jul 2011 21:11:14 +0000 (+0200) Subject: ARM: static should be at beginning of declaration X-Git-Tag: v3.1-rc1~245^2~16 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=82d508fac3e680b7853275090c3b1a3db2461198;p=thirdparty%2Fkernel%2Flinux.git ARM: static should be at beginning of declaration 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 Signed-off-by: Jiri Kosina --- diff --git a/arch/arm/mach-shmobile/board-ap4evb.c b/arch/arm/mach-shmobile/board-ap4evb.c index f6b687f61c28e..04bc123938fec 100644 --- a/arch/arm/mach-shmobile/board-ap4evb.c +++ b/arch/arm/mach-shmobile/board-ap4evb.c @@ -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)",