Commit c43ba800 authored by Shawn Guo's avatar Shawn Guo Committed by Linus Walleij

pinctrl: mxs: register driver at postcore_initcall time

It's not so usual, but there are still some cases which require pinctrl
driver function at arch_initcall time.  So register imx23 and imx28
pinctrl driver at postcore_initcall time.
Signed-off-by: default avatarShawn Guo <shawn.guo@linaro.org>
Reviewed-by: default avatarRichard Zhao <richard.zhao@freescale.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 0d7614f0
...@@ -292,7 +292,7 @@ static int __init imx23_pinctrl_init(void) ...@@ -292,7 +292,7 @@ static int __init imx23_pinctrl_init(void)
{ {
return platform_driver_register(&imx23_pinctrl_driver); return platform_driver_register(&imx23_pinctrl_driver);
} }
arch_initcall(imx23_pinctrl_init); postcore_initcall(imx23_pinctrl_init);
static void __exit imx23_pinctrl_exit(void) static void __exit imx23_pinctrl_exit(void)
{ {
......
...@@ -408,7 +408,7 @@ static int __init imx28_pinctrl_init(void) ...@@ -408,7 +408,7 @@ static int __init imx28_pinctrl_init(void)
{ {
return platform_driver_register(&imx28_pinctrl_driver); return platform_driver_register(&imx28_pinctrl_driver);
} }
arch_initcall(imx28_pinctrl_init); postcore_initcall(imx28_pinctrl_init);
static void __exit imx28_pinctrl_exit(void) static void __exit imx28_pinctrl_exit(void)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment