diff mbox

[U-Boot] MMC S5P: Fix typo

Message ID 1305473968-1444-1-git-send-email-dirk.behme@gmail.com
State Accepted
Commit 810423f405f32873675335c60ea9c3df1e8d3449
Delegated to: Minkyu Kang
Headers show

Commit Message

Dirk Behme May 15, 2011, 3:39 p.m. UTC
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(-)

Comments

Minkyu Kang May 16, 2011, 7:02 a.m. UTC | #1
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
diff mbox

Patch

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;