From: Felipe Balbi Date: Mon, 6 Oct 2008 09:09:22 +0000 (+0300) Subject: omap: mmc: fix compile breakage on board-n800-mmc.c X-Git-Tag: v2.6.27-omap1~67 X-Git-Url: http://www.pilppa.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=ec142b9489fb2b56202f0f1c3a1453296c386a5f;p=linux-2.6-omap-h63xx.git omap: mmc: fix compile breakage on board-n800-mmc.c 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 Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap2/board-n800-mmc.c b/arch/arm/mach-omap2/board-n800-mmc.c index bcee07d537e..9242356f96c 100644 --- a/arch/arm/mach-omap2/board-n800-mmc.c +++ b/arch/arm/mach-omap2/board-n800-mmc.c @@ -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)