Commit 7c68184f authored by Paul Cercueil's avatar Paul Cercueil Committed by Greg Kroah-Hartman

pinctrl: ingenic: Probe driver at subsys_initcall

[ Upstream commit 556a36a7 ]

Using postcore_initcall() makes the driver try to initialize way too
early.
Signed-off-by: default avatarPaul Cercueil <paul@crapouillou.net>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 8ddea21d
...@@ -847,4 +847,4 @@ static int __init ingenic_pinctrl_drv_register(void) ...@@ -847,4 +847,4 @@ static int __init ingenic_pinctrl_drv_register(void)
{ {
return platform_driver_register(&ingenic_pinctrl_driver); return platform_driver_register(&ingenic_pinctrl_driver);
} }
postcore_initcall(ingenic_pinctrl_drv_register); subsys_initcall(ingenic_pinctrl_drv_register);
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