All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] omap: mmc: fix compile breakage on board-n800-mmc.c
@ 2008-10-06  9:09 Felipe Balbi
  2008-10-06  9:21 ` Tony Lindgren
  2008-10-06 10:32 ` Jarkko Nikula
  0 siblings, 2 replies; 6+ messages in thread
From: Felipe Balbi @ 2008-10-06  9:09 UTC (permalink / raw)
  To: linux-omap; +Cc: Felipe Balbi

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>
---
 arch/arm/mach-omap2/board-n800-mmc.c |    6 +++---
 1 files 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 2cf8213..2c5c97c 100644
--- a/arch/arm/mach-omap2/board-n800-mmc.c
+++ b/arch/arm/mach-omap2/board-n800-mmc.c
@@ -336,7 +336,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
@@ -344,8 +344,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)
-- 
1.6.0.2.307.gc427


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-10-06 12:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-06  9:09 [PATCH] omap: mmc: fix compile breakage on board-n800-mmc.c Felipe Balbi
2008-10-06  9:21 ` Tony Lindgren
2008-10-06  9:25   ` Felipe Balbi
2008-10-06 10:32 ` Jarkko Nikula
2008-10-06 11:49   ` Felipe Balbi
2008-10-06 12:22     ` Tony Lindgren

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.