[U-Boot] [PATCH] MMC S5P: Fix typo

Dirk Behme dirk.behme at googlemail.com
Sun May 15 17:39:28 CEST 2011


From: Dirk Behme <dirk.behme at 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.behme at googlemail.com>
CC: John Rigby <john.rigby at linaro.org>
CC: Andy Fleming <afleming at 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;


More information about the U-Boot mailing list