* [PATCH] atmel-mci: fix wrong pointer cast
@ 2011-06-21 21:27 Hubert Feurstein
2011-06-21 22:22 ` Sascha Hauer
0 siblings, 1 reply; 2+ messages in thread
From: Hubert Feurstein @ 2011-06-21 21:27 UTC (permalink / raw)
To: barebox
Signed-off-by: Hubert Feurstein <h.feurstein@gmail.com>
---
drivers/mci/atmel_mci.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mci/atmel_mci.c b/drivers/mci/atmel_mci.c
index 980aa24..49a7851 100644
--- a/drivers/mci/atmel_mci.c
+++ b/drivers/mci/atmel_mci.c
@@ -456,7 +456,7 @@ static int mci_probe(struct device_d *hw_dev)
else if (pd->bus_width == 8)
host->mci.host_caps |= MMC_MODE_8BIT;
- host->base = (struct atmel_mci_regs *)hw_dev->map_base;
+ host->base = (void __iomem *)hw_dev->map_base;
host->hw_dev = hw_dev;
hw_dev->priv = host;
host->clk = clk_get(hw_dev, "mci_clk");
--
1.7.4.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] atmel-mci: fix wrong pointer cast
2011-06-21 21:27 [PATCH] atmel-mci: fix wrong pointer cast Hubert Feurstein
@ 2011-06-21 22:22 ` Sascha Hauer
0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2011-06-21 22:22 UTC (permalink / raw)
To: Hubert Feurstein; +Cc: barebox
On Tue, Jun 21, 2011 at 11:27:26PM +0200, Hubert Feurstein wrote:
> Signed-off-by: Hubert Feurstein <h.feurstein@gmail.com>
applied to -next
Sascha
> ---
> drivers/mci/atmel_mci.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/mci/atmel_mci.c b/drivers/mci/atmel_mci.c
> index 980aa24..49a7851 100644
> --- a/drivers/mci/atmel_mci.c
> +++ b/drivers/mci/atmel_mci.c
> @@ -456,7 +456,7 @@ static int mci_probe(struct device_d *hw_dev)
> else if (pd->bus_width == 8)
> host->mci.host_caps |= MMC_MODE_8BIT;
>
> - host->base = (struct atmel_mci_regs *)hw_dev->map_base;
> + host->base = (void __iomem *)hw_dev->map_base;
> host->hw_dev = hw_dev;
> hw_dev->priv = host;
> host->clk = clk_get(hw_dev, "mci_clk");
> --
> 1.7.4.1
>
>
> _______________________________________________
> 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] 2+ messages in thread
end of thread, other threads:[~2011-06-21 22:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-21 21:27 [PATCH] atmel-mci: fix wrong pointer cast Hubert Feurstein
2011-06-21 22:22 ` Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox