diff options
author | Huang Shijie <b32955@freescale.com> | 2012-02-08 11:19:07 +0800 |
---|---|---|
committer | Huang Shijie <b32955@freescale.com> | 2012-02-08 11:22:21 +0800 |
commit | 1f26b0cd0ca69d1f4c1d8ce629e2a05da3577efd (patch) | |
tree | 90e70f5b04e02d5a8ea2b13be9fd8cb1c03dd632 /arch/arm/mach-mx6 | |
parent | 87e775d3314a56cf93f6a3dc8f35346e60410030 (diff) |
ENGR00174021 MX6Q/ARCH : fix the section mismatch
add __init to the gpmi_nand_platform_init() to make this
function store in the init.text section.
Signed-off-by: Huang Shijie <b32955@freescale.com>
Diffstat (limited to 'arch/arm/mach-mx6')
-rw-r--r-- | arch/arm/mach-mx6/board-mx6q_arm2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mx6/board-mx6q_arm2.c b/arch/arm/mach-mx6/board-mx6q_arm2.c index 04025bc8f99e..dc7698b80559 100644 --- a/arch/arm/mach-mx6/board-mx6q_arm2.c +++ b/arch/arm/mach-mx6/board-mx6q_arm2.c @@ -250,7 +250,7 @@ static const struct esdhc_platform_data mx6_arm2_sd4_data __initconst = { .platform_pad_change = plt_sd4_pad_change, }; -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; |