mirror of https://gitee.com/openkylin/linux.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 <jj@chaosbits.net> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
d8bf4ca9ca
commit
82d508fac3
|
@ -443,7 +443,7 @@ static struct platform_device usb1_host_device = {
|
||||||
.resource = usb1_host_resources,
|
.resource = usb1_host_resources,
|
||||||
};
|
};
|
||||||
|
|
||||||
const static struct fb_videomode ap4evb_lcdc_modes[] = {
|
static const struct fb_videomode ap4evb_lcdc_modes[] = {
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_AP4EVB_QHD
|
#ifdef CONFIG_AP4EVB_QHD
|
||||||
.name = "R63302(QHD)",
|
.name = "R63302(QHD)",
|
||||||
|
|
Loading…
Reference in New Issue