提交 faf5d2ff 编写于 作者: E Ezequiel Garcia 提交者: Tony Lindgren

ARM: OMAP2+: gpmc-onenand: drop __init annotation

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: NEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: NTony Lindgren <tony@atomide.com>
上级 dc75eb36
...@@ -356,7 +356,7 @@ static int gpmc_onenand_setup(void __iomem *onenand_base, int *freq_ptr) ...@@ -356,7 +356,7 @@ static int gpmc_onenand_setup(void __iomem *onenand_base, int *freq_ptr)
return ret; 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; int err;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册