Remove the followinig section mismatch warning
WARNING: vmlinux.o(.text+0x1bdf8): Section mismatch in
reference from the function gpmi_nand_platform_init() to
the (unknown reference) .init.data:(unknown)
The function gpmi_nand_platform_init() references
the (unknown reference) __initdata (unknown).
This is often because gpmi_nand_platform_init lacks a __initdata
annotation or the annotation of (unknown) is wrong.
Signed-off-by: Lily Zhang <r58066@freescale.com>
};
-static int gpmi_nand_platform_init(void)
+static int __init gpmi_nand_platform_init(void)
{
iomux_v3_cfg_t *nand_pads = NULL;
u32 nand_pads_cnt;