]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
omap: mmc: fix compile breakage on board-n800-mmc.c
authorFelipe Balbi <felipe.balbi@nokia.com>
Mon, 6 Oct 2008 09:09:22 +0000 (12:09 +0300)
committerTony Lindgren <tony@atomide.com>
Mon, 6 Oct 2008 09:21:06 +0000 (12:21 +0300)
Commit 81d2c7d87a9c1eb724788fce7312922effa1b1ae broke
compilation of board-n800-mmc.c, this patch fixes it.

Still n810 doesn't boot anymore with current linux-omap.
Will look into that soon.

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-n800-mmc.c

index bcee07d537e0f7e654384bce11a4b7d58e279071..9242356f96c26788d0068d09a4f0e92f53df9f87 100644 (file)
@@ -335,7 +335,7 @@ void __init n800_mmc_init(void)
 
 {
        if (machine_is_nokia_n810()) {
-               n800_mmc1_data.slots[0].name = "external";
+               mmc1_data.slots[0].name = "external";
 
                /*
                 * Some Samsung Movinand chips do not like open-ended
@@ -343,8 +343,8 @@ void __init n800_mmc_init(void)
                 * while doing so. Reducing the number of blocks in
                 * the transfer or delays in clock disable do not help
                 */
-               n800_mmc1_data.slots[1].name = "internal";
-               n800_mmc1_data.slots[1].ban_openended = 1;
+               mmc1_data.slots[1].name = "internal";
+               mmc1_data.slots[1].ban_openended = 1;
        }
 
        if (omap_request_gpio(slot_switch_gpio) < 0)