diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2017-07-19 23:21:02 +0200 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2017-07-20 12:16:47 +0200 |
commit | c8c35a36c85d70497c3382d0b5cb11d95bf610e6 (patch) | |
tree | 430634c64712203c3a61cad20535efebc616d02b /drivers/pinctrl | |
parent | 89f0905d573e13e17eab981e6a1d25c292ce1a0a (diff) | |
download | barebox-c8c35a36c85d70497c3382d0b5cb11d95bf610e6.tar.gz barebox-c8c35a36c85d70497c3382d0b5cb11d95bf610e6.tar.xz |
pinctrl: at91: move initcalls to postcore_initcall
Move initcalls to postcore_initcall() like all other pinctrl drivers.
This will init this driver earlier right after pinctrl driver.
No know bugs are fixed by this change.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r-- | drivers/pinctrl/pinctrl-at91.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c index d52c184e44..0303869774 100644 --- a/drivers/pinctrl/pinctrl-at91.c +++ b/drivers/pinctrl/pinctrl-at91.c @@ -538,7 +538,7 @@ static int at91_pinctrl_init(void) { return platform_driver_register(&at91_pinctrl_driver); } -coredevice_initcall(at91_pinctrl_init); +postcore_initcall(at91_pinctrl_init); static int at91_gpio_get(struct gpio_chip *chip, unsigned offset) { @@ -718,4 +718,4 @@ static int at91_gpio_init(void) { return platform_driver_register(&at91_gpio_driver); } -coredevice_initcall(at91_gpio_init); +postcore_initcall(at91_gpio_init); |