Skip to content

Commit

Permalink
ARM: static should be at beginning of declaration
Browse files Browse the repository at this point in the history
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: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Jesper Juhl authored and Paul Mundt committed Jul 11, 2011
1 parent 0ed61fc commit b8e513a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-shmobile/board-ap4evb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)",
Expand Down

0 comments on commit b8e513a

Please sign in to comment.