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
642 .of_match_table = of_match_ptr(pxa_gpio_dt_ids),642 .of_match_table = of_match_ptr(pxa_gpio_dt_ids),
643 },643 },
644};644};
645module_platform_driver(pxa_gpio_driver);645
646static int __init pxa_gpio_init(void)
647{
648 return platform_driver_register(&pxa_gpio_driver);
649}
650postcore_initcall(pxa_gpio_init);
646 651
647#ifdef CONFIG_PM652#ifdef CONFIG_PM
648static int pxa_gpio_suspend(void)653static int pxa_gpio_suspend(void)