diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2013-04-26 17:47:29 +0200 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-06-12 00:44:57 +0200 |
commit | e328b88094b712e4010a805499ceff774e2795b7 (patch) | |
tree | a8388f1974daa4c65b40ff22909d2e157163aa83 /arch/arm/mach-clps711x/board-autcpu12.c | |
parent | GPIO: clps711x: Add DT support (diff) | |
download | linux-e328b88094b712e4010a805499ceff774e2795b7.tar.xz linux-e328b88094b712e4010a805499ceff774e2795b7.zip |
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-autcpu12.c')
-rw-r--r-- | arch/arm/mach-clps711x/board-autcpu12.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-clps711x/board-autcpu12.c b/arch/arm/mach-clps711x/board-autcpu12.c index f38584709df7..1e22cb4726be 100644 --- a/arch/arm/mach-clps711x/board-autcpu12.c +++ b/arch/arm/mach-clps711x/board-autcpu12.c @@ -43,6 +43,7 @@ #include <mach/autcpu12.h> #include "common.h" +#include "devices.h" #define AUTCPU12_CS8900_BASE (CS2_PHYS_BASE + 0x300) #define AUTCPU12_CS8900_IRQ (IRQ_EINT3) @@ -149,6 +150,7 @@ static struct platform_device autcpu12_mmgpio_pdev __initdata = { static void __init autcpu12_init(void) { + clps711x_devices_init(); platform_device_register_simple("video-clps711x", 0, NULL, 0); platform_device_register_simple("cs89x0", 0, autcpu12_cs8900_resource, ARRAY_SIZE(autcpu12_cs8900_resource)); |