History

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

This reverts commit 6c7e660a27da7494c670bfba21cfeba30457656c. The commit causes breakage on several older PXA machines.

Linus Walleij committed 13 years ago

Commit cf3fa171 parent 60d509f1 file · +6 −1Browse files

Unified · Split

drivers/gpio/gpio-pxa.c+6−1
@@ -642,7 +642,12 @@ static struct platform_driver pxa_gpio_driver = { · 641 unmodified lines
642642 .of_match_table = of_match_ptr(pxa_gpio_dt_ids),
643643 },
644644 };
645−module_platform_driver(pxa_gpio_driver);
645+
646+static int __init pxa_gpio_init(void)
647+{
648+ return platform_driver_register(&pxa_gpio_driver);
649+}
650+postcore_initcall(pxa_gpio_init);
646651
647652 #ifdef CONFIG_PM
648653 static int pxa_gpio_suspend(void)