From ec142b9489fb2b56202f0f1c3a1453296c386a5f Mon Sep 17 00:00:00 2001 From: Felipe Balbi Date: Mon, 6 Oct 2008 12:09:22 +0300 Subject: [PATCH] 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 --- arch/arm/mach-omap2/board-n800-mmc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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) -- 2.41.1