pata_imx: use void __iomem * for regs

regs is returned from ioremap, so add a __iomem. Also, make it
void * instead of u8 *.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
Sascha Hauer 2013-04-04 11:25:06 +02:00 committed by Jeff Garzik
parent ff540d029a
commit 51b5539c03

View File

@ -37,7 +37,7 @@
struct pata_imx_priv {
struct clk *clk;
/* timings/interrupt/control regs */
u8 *host_regs;
void __iomem *host_regs;
u32 ata_ctl;
};