Date:2013-01-23 09:25:45 (9 years 8 months ago)
Author:Haojian Zhuang
Commit:6c7e660a27da7494c670bfba21cfeba30457656c
Message: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: Haojian Zhuang <haojian.zhuang@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Files: drivers/gpio/gpio-pxa.c (1 diff)

Change Details

drivers/gpio/gpio-pxa.c
642642        .of_match_table = of_match_ptr(pxa_gpio_dt_ids),
643643    },
644644};
645
646static int __init pxa_gpio_init(void)
647{
648    return platform_driver_register(&pxa_gpio_driver);
649}
650postcore_initcall(pxa_gpio_init);
645module_platform_driver(pxa_gpio_driver);
651646
652647#ifdef CONFIG_PM
653648static int pxa_gpio_suspend(void)

Archive Download the corresponding diff file



interactive