diff options
Diffstat (limited to 'arch/arm/mach-integrator/common.h')
-rw-r--r-- | arch/arm/mach-integrator/common.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/mach-integrator/common.h b/arch/arm/mach-integrator/common.h index c3ff21b5ea24..79197d8b34aa 100644 --- a/arch/arm/mach-integrator/common.h +++ b/arch/arm/mach-integrator/common.h | |||
@@ -1,6 +1,12 @@ | |||
1 | #include <linux/amba/serial.h> | 1 | #include <linux/amba/serial.h> |
2 | extern struct amba_pl010_data integrator_uart_data; | 2 | #ifdef CONFIG_ARCH_INTEGRATOR_AP |
3 | extern struct amba_pl010_data ap_uart_data; | ||
4 | #else | ||
5 | /* Not used without Integrator/AP support anyway */ | ||
6 | struct amba_pl010_data ap_uart_data {}; | ||
7 | #endif | ||
3 | void integrator_init_early(void); | 8 | void integrator_init_early(void); |
4 | int integrator_init(bool is_cp); | 9 | int integrator_init(bool is_cp); |
5 | void integrator_reserve(void); | 10 | void integrator_reserve(void); |
6 | void integrator_restart(char, const char *); | 11 | void integrator_restart(char, const char *); |
12 | void integrator_init_sysfs(struct device *parent, u32 id); | ||