Commit 6c7e660a authored by Haojian Zhuang's avatar Haojian Zhuang Committed by Linus Walleij

gpio: pxa: set initcall level to module init

gpio & pinctrl driver are used together. The pinctrl driver is already
launched before gpio driver in Makefile. So set gpio driver to module
init level. Otherwise, the sequence will be inverted.
Signed-off-by: default avatarHaojian Zhuang <>
Signed-off-by: default avatarLinus Walleij <>
parent 89f5df01
......@@ -642,12 +642,7 @@ static struct platform_driver pxa_gpio_driver = {
.of_match_table = of_match_ptr(pxa_gpio_dt_ids),
static int __init pxa_gpio_init(void)
return platform_driver_register(&pxa_gpio_driver);
#ifdef CONFIG_PM
static int pxa_gpio_suspend(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