diff options
author | Rabin Vincent <rabin.vincent@stericsson.com> | 2010-06-02 01:09:52 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-06-16 17:27:36 -0400 |
commit | 33f45ea91706f8fdde04bd6c2245f679403ec63f (patch) | |
tree | fca01f70440c8bf722a963bd0b8662648b9b515f /arch/arm/plat-nomadik | |
parent | 378be0663dbb2de033ae7a1231227be09e6ad0a3 (diff) |
ARM: 6156/1: nomadik-gpio: switch to core_initcall
Move the platform driver registration to a core_initcall, instead of an
arch_initcall. This will allow us to use gpio related calls in
init_machine() (which is an arch_initcall) after adding the gpio
platform devices.
Cc: Alessandro Rubini <rubini@unipv.it>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/plat-nomadik')
-rw-r--r-- | arch/arm/plat-nomadik/gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-nomadik/gpio.c b/arch/arm/plat-nomadik/gpio.c index 465ae5bc00b1..14466519fcc3 100644 --- a/arch/arm/plat-nomadik/gpio.c +++ b/arch/arm/plat-nomadik/gpio.c | |||
@@ -618,7 +618,7 @@ static int __init nmk_gpio_init(void) | |||
618 | return platform_driver_register(&nmk_gpio_driver); | 618 | return platform_driver_register(&nmk_gpio_driver); |
619 | } | 619 | } |
620 | 620 | ||
621 | arch_initcall(nmk_gpio_init); | 621 | core_initcall(nmk_gpio_init); |
622 | 622 | ||
623 | MODULE_AUTHOR("Prafulla WADASKAR and Alessandro Rubini"); | 623 | MODULE_AUTHOR("Prafulla WADASKAR and Alessandro Rubini"); |
624 | MODULE_DESCRIPTION("Nomadik GPIO Driver"); | 624 | MODULE_DESCRIPTION("Nomadik GPIO Driver"); |