mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 07:04:24 +00:00
Revert "gpio: pxa: set initcall level to module init"
This reverts commit 6c7e660a27
.
The commit causes breakage on several older PXA machines.
Reported-by: Mike Dunn <mikedunn@newsguy.com>
Acked-by: Haojian Zhuang <haojian.zhuang@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
60d509fa6a
commit
cf3fa17c20
1 changed files with 6 additions and 1 deletions
|
@ -642,7 +642,12 @@ static struct platform_driver pxa_gpio_driver = {
|
||||||
.of_match_table = of_match_ptr(pxa_gpio_dt_ids),
|
.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
|
#ifdef CONFIG_PM
|
||||||
static int pxa_gpio_suspend(void)
|
static int pxa_gpio_suspend(void)
|
||||||
|
|
Loading…
Reference in a new issue