aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorStephen Warren <swarren@wwwdotorg.org>2012-03-19 13:36:00 -0400
committerGrant Likely <grant.likely@secretlab.ca>2012-03-19 17:49:41 -0400
commitb0092f2665be3dd04f923d09a6a0deeddb4e96ec (patch)
treee741e9d997aaf673b5955fa469b7d8bd61b38895 /drivers/gpio
parent81b279d80a63628e580c71a31d30a8c3b3047ad4 (diff)
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>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-tegra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-tegra.c b/drivers/gpio/gpio-tegra.c
index 96662cc05ff9..ceb1fd081b85 100644
--- a/drivers/gpio/gpio-tegra.c
+++ b/drivers/gpio/gpio-tegra.c
@@ -428,7 +428,7 @@ static int __init tegra_gpio_init(void)
428} 428}
429postcore_initcall(tegra_gpio_init); 429postcore_initcall(tegra_gpio_init);
430 430
431void __init tegra_gpio_config(struct tegra_gpio_table *table, int num) 431void tegra_gpio_config(struct tegra_gpio_table *table, int num)
432{ 432{
433 int i; 433 int i;
434 434