From: Dirk Behme <dirk.be...@googlemail.com>

Fix typo resulting in the compilation error

s5p_mmc.c: In function 's5p_mmc_initialize':
s5p_mmc.c:469: error: 'struct mmc' has no member named 'm_bmax' 

introduced by commit "MMC: make b_max unconditional"
(8feafcc49c0b7a9c541904f95a43dbef2fecc38b)

Signed-off-by: Dirk Behme <dirk.be...@googlemail.com>
CC: John Rigby <john.ri...@linaro.org>
CC: Andy Fleming <aflem...@freescale.com>

---

Found while building 's5p_goni'

 drivers/mmc/s5p_mmc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: u-boot.git/drivers/mmc/s5p_mmc.c
===================================================================
--- u-boot.git.orig/drivers/mmc/s5p_mmc.c
+++ u-boot.git/drivers/mmc/s5p_mmc.c
@@ -466,7 +466,7 @@ static int s5p_mmc_initialize(int dev_in
 
        mmc_host[dev_index].clock = 0;
        mmc_host[dev_index].reg = s5p_get_base_mmc(dev_index);
-       mmc->m_bmax = 0;
+       mmc->b_max = 0;
        mmc_register(mmc);
 
        return 0;
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to