Message ID | 1305486287-3446-1-git-send-email-dirk.behme@gmail.com |
---|---|
State | Accepted |
Commit | 96e0e7b36c5c335e7a551537f3a19dec0cd53356 |
Delegated to: | Andy Fleming |
Headers | show |
On Sun, May 15, 2011 at 2:04 PM, Dirk Behme <dirk.behme@googlemail.com> wrote: > From: Dirk Behme <dirk.behme@googlemail.com> > > 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> Applied, thanks!
Index: u-boot.git/drivers/mmc/omap_hsmmc.c =================================================================== --- u-boot.git.orig/drivers/mmc/omap_hsmmc.c +++ 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