提交 b0092f26 编写于 作者: S Stephen Warren 提交者: Grant Likely

gpio: tegra: tegra_gpio_config shouldn't be __init

This function is called from non-__init context, just like
tegra_gpio_enable()/disable(). Remove the __init annotation to avoid
section mismatch warnings during compile.
Signed-off-by: NStephen Warren <swarren@wwwdotorg.org>
Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
上级 81b279d8
...@@ -428,7 +428,7 @@ static int __init tegra_gpio_init(void) ...@@ -428,7 +428,7 @@ static int __init tegra_gpio_init(void)
} }
postcore_initcall(tegra_gpio_init); postcore_initcall(tegra_gpio_init);
void __init tegra_gpio_config(struct tegra_gpio_table *table, int num) void tegra_gpio_config(struct tegra_gpio_table *table, int num)
{ {
int i; int i;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册