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: Stephen Warren <swarren@wwwdotorg.org> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
This commit is contained in:
committed by
Grant Likely
parent
81b279d80a
commit
b0092f2665
@@ -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;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user