summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-pl061.c
diff options
context:
space:
mode:
authorHaojian Zhuang <haojian.zhuang@linaro.org>2013-01-18 15:31:13 +0800
committerLinus Walleij <linus.walleij@linaro.org>2013-01-22 10:43:15 +0100
commit5985d76cc1b62125301754c9b636a18c346bfc52 (patch)
treeef47bdf0d893fed9ba7b80706cbd087282e12f0b /drivers/gpio/gpio-pl061.c
parent6a89a314ab107a12af08c71420c19a37a30fc2d3 (diff)
downloadlinux-5985d76cc1b62125301754c9b636a18c346bfc52.tar.gz
linux-5985d76cc1b62125301754c9b636a18c346bfc52.tar.bz2
linux-5985d76cc1b62125301754c9b636a18c346bfc52.zip
gpio: pl061: set initcall level to module init
Replace subsys initcall by module initcall level. Since pinctrl driver is already launched before gpio driver. It's unnecessary to set gpio driver in subsys init call level. Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org> Tested-by: Dinh Nguyen <dinguyen@altera.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-pl061.c')
-rw-r--r--drivers/gpio/gpio-pl061.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-pl061.c b/drivers/gpio/gpio-pl061.c
index c1720de18a4f..b820869ca93c 100644
--- a/drivers/gpio/gpio-pl061.c
+++ b/drivers/gpio/gpio-pl061.c
@@ -365,7 +365,7 @@ static int __init pl061_gpio_init(void)
{
return amba_driver_register(&pl061_gpio_driver);
}
-subsys_initcall(pl061_gpio_init);
+module_init(pl061_gpio_init);
MODULE_AUTHOR("Baruch Siach <baruch@tkos.co.il>");
MODULE_DESCRIPTION("PL061 GPIO driver");