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

* Re: [PATCH] mci: mxs: fix 'use resources' conversion
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2011-09-13 14:43 UTC (permalink / raw)
  To: Wolfram Sang; +Cc: barebox

On 14:52 Tue 13 Sep     , Wolfram Sang wrote:
> 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>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>

Best Regards,
J.

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

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

* Re: [PATCH] mci: mxs: fix 'use resources' conversion
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2011-09-14  8:37 UTC (permalink / raw)
  To: Wolfram Sang; +Cc: barebox

On Tue, Sep 13, 2011 at 02:52:56PM +0200, Wolfram Sang wrote:
> Commit 4c542622 used the wrong variable name and caused a build failure.

Applied to master.

Sascha

> 
> 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
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
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