mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] mci: mxs: fix 'use resources' conversion
@ 2011-09-13 12:52 Wolfram Sang
  2011-09-13 14:43 ` Jean-Christophe PLAGNIOL-VILLARD
  2011-09-14  8:37 ` Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Wolfram Sang @ 2011-09-13 12:52 UTC (permalink / raw)
  To: barebox

Commit 4c542622 used the wrong variable name and caused a build failure.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
 drivers/mci/mxs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mci/mxs.c b/drivers/mci/mxs.c
index 825ae4d..a84cd67 100644
--- a/drivers/mci/mxs.c
+++ b/drivers/mci/mxs.c
@@ -703,7 +703,7 @@ static int mxs_mci_probe(struct device_d *hw_dev)
 	host->send_cmd = mxs_mci_request;
 	host->set_ios = mxs_mci_set_ios;
 	host->init = mxs_mci_initialize;
-	mxs_mci->regs = dev_request_mem_region(dev, 0);
+	mxs_mci->regs = dev_request_mem_region(hw_dev, 0);
 
 	/* feed forward the platform specific values */
 	host->voltages = pd->voltages;
-- 
1.7.5.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2011-09-14  8:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-13 12:52 [PATCH] mci: mxs: fix 'use resources' conversion Wolfram Sang
2011-09-13 14:43 ` Jean-Christophe PLAGNIOL-VILLARD
2011-09-14  8:37 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox