[PATCH 2/2] gpio: i.MX: initialize earlier
Sascha Hauer
s.hauer at pengutronix.de
Mon Jun 17 05:31:44 EDT 2013
The i.MX gpio driver doesn't have dependencies, so initialize
it in a core_initcall to have the gpio functions available earlier.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
drivers/gpio/gpio-imx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpio/gpio-imx.c b/drivers/gpio/gpio-imx.c
index 1bf4100..063a81c 100644
--- a/drivers/gpio/gpio-imx.c
+++ b/drivers/gpio/gpio-imx.c
@@ -204,4 +204,4 @@ static int imx_gpio_add(void)
platform_driver_register(&imx_gpio_driver);
return 0;
}
-coredevice_initcall(imx_gpio_add);
+core_initcall(imx_gpio_add);
--
1.8.3.1
More information about the barebox
mailing list