diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2013-07-24 16:54:31 -0400 |
---|---|---|
committer | David Brown <davidb@codeaurora.org> | 2013-08-06 14:18:02 -0400 |
commit | ebea60bee85fc043b02fd3438c381c28085eed69 (patch) | |
tree | e3ce4d7e2bd77b1e0d3edd146b36e3eda3cafe98 /arch/arm/mach-msm/common.h | |
parent | c602520ff8da605becd62c25e271210b336d8eca (diff) |
ARM: msm: Move mach/board.h contents to common.h
The contents of mach/board.h are only used by files within
mach-msm so there is no need to export this file outside of the
mach-msm directory. Move the contents of the file to common.h to
allow us to compile MSM in the multi-platform kernel.
Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Acked-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Signed-off-by: David Brown <davidb@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm/common.h')
-rw-r--r-- | arch/arm/mach-msm/common.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/mach-msm/common.h b/arch/arm/mach-msm/common.h index 20ebf8727930..33c7725adae2 100644 --- a/arch/arm/mach-msm/common.h +++ b/arch/arm/mach-msm/common.h | |||
@@ -26,4 +26,19 @@ extern void __iomem *__msm_ioremap_caller(phys_addr_t phys_addr, size_t size, | |||
26 | extern struct smp_operations msm_smp_ops; | 26 | extern struct smp_operations msm_smp_ops; |
27 | extern void msm_cpu_die(unsigned int cpu); | 27 | extern void msm_cpu_die(unsigned int cpu); |
28 | 28 | ||
29 | struct msm_mmc_platform_data; | ||
30 | |||
31 | extern void msm_add_devices(void); | ||
32 | extern void msm_init_irq(void); | ||
33 | extern void msm_init_gpio(void); | ||
34 | extern int msm_add_sdcc(unsigned int controller, | ||
35 | struct msm_mmc_platform_data *plat, | ||
36 | unsigned int stat_irq, unsigned long stat_irq_flags); | ||
37 | |||
38 | #if defined(CONFIG_MSM_SMD) && defined(CONFIG_DEBUG_FS) | ||
39 | extern int smd_debugfs_init(void); | ||
40 | #else | ||
41 | static inline int smd_debugfs_init(void) { return 0; } | ||
42 | #endif | ||
43 | |||
29 | #endif | 44 | #endif |