Skip to content

Commit

Permalink
omap3: igep3: make igep3_flash_init static
Browse files Browse the repository at this point in the history
igep3_flash_init is not used beyond the scope of the file, make it
static instead.

Fixes sparse warning:
arch/arm/mach-omap2/board-igep0030.c:106:13: warning: symbol 'igep3_flash_init' was not declared. Should it be static?

Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Nishanth Menon authored and Tony Lindgren committed Jan 7, 2011
1 parent 0ce3bb7 commit 2393608
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/arm/mach-omap2/board-igep0030.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ static struct platform_device igep3_onenand_device = {
},
};

void __init igep3_flash_init(void)
static void __init igep3_flash_init(void)
{
u8 cs = 0;
u8 onenandcs = GPMC_CS_NUM + 1;
Expand Down Expand Up @@ -137,7 +137,7 @@ void __init igep3_flash_init(void)
}

#else
void __init igep3_flash_init(void) {}
static void __init igep3_flash_init(void) {}
#endif

static struct regulator_consumer_supply igep3_vmmc1_supply = {
Expand Down

0 comments on commit 2393608

Please sign in to comment.