Skip to contentSkip to conversation

MMC: omap_hsmmc.c: Add missing prototype header

PATCH New Dirk Behme 2 participants 2 messages May 15, 2011 – May 18, 2011 MMC, SD and SDIO

lore
Share & tools
lore

Dirk Behme

author
#0 lore raw

PATCH 1/1 MMC: omap_hsmmc.c: Add missing prototype header

From: Dirk Behme <[email protected]>

Add missing header file to fix compilation warning

omap_hsmmc.c: In function 'omap_mmc_init':
omap_hsmmc.c:474: warning: implicit declaration of function 'get_cpu_family' omap_hsmmc.c:474: warning: implicit declaration of function 'get_cpu_rev'

introduced by commit "MMC: omap_hsmmc.c: disable
multiblock rw on old rev omap34xx silicon"
(4ca9244d74f146a0605f5bee28a66e39aae88d3e)

CC Andy Fleming <[email protected]>
CC John Rigby <[email protected]>
---
 drivers/mmc/omap_hsmmc.c |    1 +
 1 file changed, 1 insertion(+)
drivers/mmc/omap_hsmmc.c +1 -0
Index: u-boot.git/drivers/mmc/omap_hsmmc.c
===================================================================
@@ -30,6 +30,7 @@
 #include <twl4030.h>
 #include <asm/io.h>
 #include <asm/arch/mmc_host_def.h>
+#include <asm/arch/sys_proto.h>
 
 /* If we fail after 1 second wait, something is really bad */
 #define MAX_RETRY_MS	1000
Applied
#1 lore raw

PATCH 1/1 MMC: omap_hsmmc.c: Add missing prototype header

Quoted 8 lines · Dirk Behme

From: Dirk Behme <[email protected]>

Add missing header file to fix compilation warning

omap_hsmmc.c: In function 'omap_mmc_init':
omap_hsmmc.c:474: warning: implicit declaration of function 'get_cpu_family' omap_hsmmc.c:474: warning: implicit declaration of function 'get_cpu_rev'

Quoted 7 lines

introduced by commit "MMC: omap_hsmmc.c: disable
multiblock rw on old rev omap34xx silicon"
(4ca9244d74f146a0605f5bee28a66e39aae88d3e)

CC Andy Fleming <[email protected]>
CC John Rigby <[email protected]>

Applied, thanks!