]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
MMC: omap_hsmmc.c: Add missing prototype header
authorDirk Behme <dirk.behme@googlemail.com>
Sun, 15 May 2011 09:04:47 +0000 (09:04 +0000)
committerAndy Fleming <afleming@freescale.com>
Wed, 18 May 2011 19:38:05 +0000 (14:38 -0500)
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)

Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
CC: Andy Fleming <afleming@freescale.com>
CC: John Rigby <john.rigby@linaro.org>
drivers/mmc/omap_hsmmc.c

index 957b9877a01adaa59a7aef6364bec3d8f82672bc..ef12ecd5e369517e75e24a295f88348ee96d2c97 100644 (file)
@@ -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