aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm
diff options
context:
space:
mode:
authorSahitya Tummala <stummala@codeaurora.org>2010-07-29 07:22:19 -0400
committerDaniel Walker <dwalker@codeaurora.org>2010-08-09 18:46:31 -0400
commit28d6c3db679dc83a0e77b5a540afb0594bdb7056 (patch)
tree50cccf0a06ab86b3c58b9b043085a571e63873f1 /arch/arm/mach-msm
parent4416e9eb0b4859b3d28016c5fd0a609bdcbc8a2a (diff)
msm: trout: Remove extern declaration from source file
Add msm_add_sdcc() prototype to mach/board.h to fix the checkpatch warning. Signed-off-by: Sahitya Tummala <stummala@codeaurora.org> Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
Diffstat (limited to 'arch/arm/mach-msm')
-rw-r--r--arch/arm/mach-msm/board-trout-mmc.c3
-rw-r--r--arch/arm/mach-msm/include/mach/board.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-msm/board-trout-mmc.c b/arch/arm/mach-msm/board-trout-mmc.c
index 7a773f8c13dc..0ba3e92e7493 100644
--- a/arch/arm/mach-msm/board-trout-mmc.c
+++ b/arch/arm/mach-msm/board-trout-mmc.c
@@ -26,9 +26,6 @@
26 26
27#define DEBUG_SDSLOT_VDD 1 27#define DEBUG_SDSLOT_VDD 1
28 28
29extern int msm_add_sdcc(unsigned int controller, struct mmc_platform_data *plat,
30 unsigned int stat_irq, unsigned long stat_irq_flags);
31
32/* ---- COMMON ---- */ 29/* ---- COMMON ---- */
33static void config_gpio_table(uint32_t *table, int len) 30static void config_gpio_table(uint32_t *table, int len)
34{ 31{
diff --git a/arch/arm/mach-msm/include/mach/board.h b/arch/arm/mach-msm/include/mach/board.h
index e302fbdc439b..a3efb0dc6dd6 100644
--- a/arch/arm/mach-msm/include/mach/board.h
+++ b/arch/arm/mach-msm/include/mach/board.h
@@ -18,6 +18,7 @@
18#define __ASM_ARCH_MSM_BOARD_H 18#define __ASM_ARCH_MSM_BOARD_H
19 19
20#include <linux/types.h> 20#include <linux/types.h>
21#include <mach/mmc.h>
21 22
22/* platform device data structures */ 23/* platform device data structures */
23 24
@@ -40,5 +41,7 @@ void __init msm_init_irq(void);
40void __init msm_init_gpio(void); 41void __init msm_init_gpio(void);
41void __init msm_clock_init(struct clk *clock_tbl, unsigned num_clocks); 42void __init msm_clock_init(struct clk *clock_tbl, unsigned num_clocks);
42void __init msm_acpu_clock_init(struct msm_acpu_clock_platform_data *); 43void __init msm_acpu_clock_init(struct msm_acpu_clock_platform_data *);
44int __init msm_add_sdcc(unsigned int controller, struct mmc_platform_data *plat,
45 unsigned int stat_irq, unsigned long stat_irq_flags);
43 46
44#endif 47#endif