Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b0092f26 authored by Stephen Warren's avatar Stephen Warren Committed by Grant Likely
Browse files

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: default avatarStephen Warren <swarren@wwwdotorg.org>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 81b279d8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -428,7 +428,7 @@ static int __init tegra_gpio_init(void)
}
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;