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/include/mach | |
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/include/mach')
-rw-r--r-- | arch/arm/mach-msm/include/mach/board.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/arch/arm/mach-msm/include/mach/board.h b/arch/arm/mach-msm/include/mach/board.h deleted file mode 100644 index c34e246a3e07..000000000000 --- a/arch/arm/mach-msm/include/mach/board.h +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | /* arch/arm/mach-msm/include/mach/board.h | ||
2 | * | ||
3 | * Copyright (C) 2007 Google, Inc. | ||
4 | * Author: Brian Swetland <swetland@google.com> | ||
5 | * | ||
6 | * This software is licensed under the terms of the GNU General Public | ||
7 | * License version 2, as published by the Free Software Foundation, and | ||
8 | * may be copied, distributed, and modified under those terms. | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, | ||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | * GNU General Public License for more details. | ||
14 | * | ||
15 | */ | ||
16 | |||
17 | #ifndef __ASM_ARCH_MSM_BOARD_H | ||
18 | #define __ASM_ARCH_MSM_BOARD_H | ||
19 | |||
20 | #include <linux/types.h> | ||
21 | #include <linux/platform_data/mmc-msm_sdcc.h> | ||
22 | |||
23 | /* common init routines for use by arch/arm/mach-msm/board-*.c */ | ||
24 | |||
25 | void __init msm_add_devices(void); | ||
26 | void __init msm_init_irq(void); | ||
27 | void __init msm_init_gpio(void); | ||
28 | int __init msm_add_sdcc(unsigned int controller, | ||
29 | struct msm_mmc_platform_data *plat, | ||
30 | unsigned int stat_irq, unsigned long stat_irq_flags); | ||
31 | |||
32 | #if defined(CONFIG_MSM_SMD) && defined(CONFIG_DEBUG_FS) | ||
33 | int smd_debugfs_init(void); | ||
34 | #else | ||
35 | static inline int smd_debugfs_init(void) { return 0; } | ||
36 | #endif | ||
37 | |||
38 | #endif | ||