Skip to content

Commit

Permalink
msm: trout: Remove extern declaration from source file
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sahitya Tummala authored and Daniel Walker committed Aug 9, 2010
1 parent 4416e9e commit 28d6c3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/arm/mach-msm/board-trout-mmc.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@

#define DEBUG_SDSLOT_VDD 1

extern int msm_add_sdcc(unsigned int controller, struct mmc_platform_data *plat,
unsigned int stat_irq, unsigned long stat_irq_flags);

/* ---- COMMON ---- */
static void config_gpio_table(uint32_t *table, int len)
{
Expand Down
3 changes: 3 additions & 0 deletions arch/arm/mach-msm/include/mach/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
#define __ASM_ARCH_MSM_BOARD_H

#include <linux/types.h>
#include <mach/mmc.h>

/* platform device data structures */

Expand All @@ -40,5 +41,7 @@ void __init msm_init_irq(void);
void __init msm_init_gpio(void);
void __init msm_clock_init(struct clk *clock_tbl, unsigned num_clocks);
void __init msm_acpu_clock_init(struct msm_acpu_clock_platform_data *);
int __init msm_add_sdcc(unsigned int controller, struct mmc_platform_data *plat,
unsigned int stat_irq, unsigned long stat_irq_flags);

#endif

0 comments on commit 28d6c3d

Please sign in to comment.