ARM: OMAP2+: gpmc-onenand: drop __init annotation
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Fri, 25 Jan 2013 12:23:10 +0000 (09:23 -0300)
committerTony Lindgren <tony@atomide.com>
Fri, 1 Feb 2013 22:10:11 +0000 (14:10 -0800)
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 <ezequiel.garcia@free-electrons.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/gpmc-onenand.c

index 94a349e4dc966196d763a51f5f719c2fc071a7de..fadd87435cd02e8396ef7fea8ed16a5eabf8e116 100644 (file)
@@ -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;