Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf3fa17c authored by Linus Walleij's avatar Linus Walleij
Browse files

Revert "gpio: pxa: set initcall level to module init"



This reverts commit 6c7e660a.

The commit causes breakage on several older PXA machines.

Reported-by: default avatarMike Dunn <mikedunn@newsguy.com>
Acked-by: default avatarHaojian Zhuang <haojian.zhuang@linaro.org>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 60d509fa
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -642,7 +642,12 @@ static struct platform_driver pxa_gpio_driver = {
		.of_match_table = of_match_ptr(pxa_gpio_dt_ids),
	},
};
module_platform_driver(pxa_gpio_driver);

static int __init pxa_gpio_init(void)
{
	return platform_driver_register(&pxa_gpio_driver);
}
postcore_initcall(pxa_gpio_init);

#ifdef CONFIG_PM
static int pxa_gpio_suspend(void)