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

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

Dear Dirk Behme,
On 16 May 2011 00:39, Dirk Behme dirk.behme@googlemail.com wrote:
From: Dirk Behme dirk.behme@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@googlemail.com CC: John Rigby john.rigby@linaro.org CC: Andy Fleming afleming@freescale.com
Found while building 's5p_goni'
drivers/mmc/s5p_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
applied to u-boot-samsung
Thanks Minkyu Kang
participants (2)
-
Dirk Behme
-
Minkyu Kang