summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-integrator/common.h
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2012-09-06 10:08:47 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-09-18 00:20:22 +0200
commit4672cddff21f6edde857aa4b523bbc1bfc741cf8 (patch)
tree95af82598243419da14f78aab39474778071fed3 /arch/arm/mach-integrator/common.h
parentARM: 7517/1: integrator: initial device tree support (diff)
downloadlinux-4672cddff21f6edde857aa4b523bbc1bfc741cf8.tar.xz
linux-4672cddff21f6edde857aa4b523bbc1bfc741cf8.zip
ARM: 7518/1: integrator: convert AMBA devices to device tree
This converts the AMBA (PrimeCell) devices on the Integrator/AP and Integrator/CP over to probing from the Device Tree if the kernel is compiled for Device Tree support. We continue to #ifdef out all non-DT code and vice versa on respective boot type to get a clean cut. We need to add a bunch of auxdata (compare to the Versatile) to handle bus names and callbacks alike. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-integrator/common.h')
-rw-r--r--arch/arm/mach-integrator/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-integrator/common.h b/arch/arm/mach-integrator/common.h
index c4338e2fc631..c3ff21b5ea24 100644
--- a/arch/arm/mach-integrator/common.h
+++ b/arch/arm/mach-integrator/common.h
@@ -1,3 +1,5 @@
+#include <linux/amba/serial.h>
+extern struct amba_pl010_data integrator_uart_data;
void integrator_init_early(void);
int integrator_init(bool is_cp);
void integrator_reserve(void);