[PATCH] mci: mxs: fix 'use resources' conversion

Sascha Hauer s.hauer at pengutronix.de
Wed Sep 14 04:37:47 EDT 2011


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 at pengutronix.de>
> Cc: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at 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 at 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 |



More information about the barebox mailing list