Skip to content

Commit

Permalink
ARM: OMAP2+: gpmc-onenand: drop __init annotation
Browse files Browse the repository at this point in the history
gpmc_onenand_init() will be called from another driver's probe() function,
so drop the __init annotation, in order to prevent section mismatches.

Signed-off-by: Ezequiel Garcia <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
  • Loading branch information
ezequielgarcia authored and tmlind committed Feb 1, 2013
1 parent dc75eb3 commit faf5d2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-omap2/gpmc-onenand.c
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ static int gpmc_onenand_setup(void __iomem *onenand_base, int *freq_ptr)
return ret;
}

void __init gpmc_onenand_init(struct omap_onenand_platform_data *_onenand_data)
void gpmc_onenand_init(struct omap_onenand_platform_data *_onenand_data)
{
int err;

Expand Down

0 comments on commit faf5d2f

Please sign in to comment.