summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-clps711x/devices.h
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2013-04-26 19:47:29 +0400
committerOlof Johansson <olof@lixom.net>2013-06-11 15:44:57 -0700
commite328b88094b712e4010a805499ceff774e2795b7 (patch)
treea8388f1974daa4c65b40ff22909d2e157163aa83 /arch/arm/mach-clps711x/devices.h
parenta180132f270a96d3b0e1e290b2911647abe9ed8e (diff)
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/devices.h')
-rw-r--r--arch/arm/mach-clps711x/devices.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-clps711x/devices.h b/arch/arm/mach-clps711x/devices.h
new file mode 100644
index 00000000000..a5efc1744b8
--- /dev/null
+++ b/arch/arm/mach-clps711x/devices.h
@@ -0,0 +1,12 @@
+/*
+ * CLPS711X common devices definitions
+ *
+ * Copyright (C) 2013 Alexander Shiyan <shc_work@mail.ru>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ */
+
+void clps711x_devices_init(void);