summaryrefslogtreecommitdiff
path: root/arch/arm/mach-clps711x/board-cdb89712.c
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2013-04-26 15:47:29 (GMT)
committerOlof Johansson <olof@lixom.net>2013-06-11 22:44:57 (GMT)
commite328b88094b712e4010a805499ceff774e2795b7 (patch)
treea8388f1974daa4c65b40ff22909d2e157163aa83 /arch/arm/mach-clps711x/board-cdb89712.c
parenta180132f270a96d3b0e1e290b2911647abe9ed8e (diff)
downloadlinux-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.c2
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 baab7da..a80ae57 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);