]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
MMC S5P: Fix typo
authorDirk Behme <dirk.behme@googlemail.com>
Sun, 15 May 2011 05:39:28 +0000 (05:39 +0000)
committerMinkyu Kang <mk7.kang@samsung.com>
Thu, 26 May 2011 10:30:19 +0000 (19:30 +0900)
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>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
drivers/mmc/s5p_mmc.c

index 668c28bded9c0b505235f0828a3c2b8d3ee26de3..86447e05bd833708d7ac43d212440b796053cbe1 100644 (file)
@@ -466,7 +466,7 @@ static int s5p_mmc_initialize(int dev_index, int bus_width)
 
        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;