diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2013-04-26 19:47:29 +0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-06-12 02:44:57 +0400 |
commit | e328b88094b712e4010a805499ceff774e2795b7 (patch) | |
tree | a8388f1974daa4c65b40ff22909d2e157163aa83 /arch/arm/mach-clps711x/board-cdb89712.c | |
parent | a180132f270a96d3b0e1e290b2911647abe9ed8e (diff) | |
download | linux-e328b88094b712e4010a805499ceff774e2795b7.tar.xz |
ARM: clps711x: Re-add GPIO support
arch_initcall was been removed from GPIO driver, so this patch
re-add support for GPIO into boards as platform_device.
Since some drivers (spi, nand, etc.) is not support deferred probe,
separate machine init calls is used in board code to make proper
loading sequence.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-clps711x/board-cdb89712.c')
-rw-r--r-- | arch/arm/mach-clps711x/board-cdb89712.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-clps711x/board-cdb89712.c b/arch/arm/mach-clps711x/board-cdb89712.c index baab7da33c9b..a80ae57743fb 100644 --- a/arch/arm/mach-clps711x/board-cdb89712.c +++ b/arch/arm/mach-clps711x/board-cdb89712.c @@ -39,6 +39,7 @@ #include <asm/mach/map.h> #include "common.h" +#include "devices.h" #define CDB89712_CS8900_BASE (CS2_PHYS_BASE + 0x300) #define CDB89712_CS8900_IRQ (IRQ_EINT3) @@ -127,6 +128,7 @@ static struct platform_device cdb89712_sram_pdev __initdata = { static void __init cdb89712_init(void) { + clps711x_devices_init(); platform_device_register(&cdb89712_flash_pdev); platform_device_register(&cdb89712_bootrom_pdev); platform_device_register(&cdb89712_sram_pdev); |