pata_imx: use void __iomem * for regs
authorSascha Hauer <s.hauer@pengutronix.de>
Thu, 4 Apr 2013 09:25:06 +0000 (11:25 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 11 Apr 2013 23:37:53 +0000 (19:37 -0400)
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>
drivers/ata/pata_imx.c

index f243496c374569500466d3bfd79715bd75a81273..adbb01d8362fbb29f7fb66b7bd5f6c5ee1918d79 100644 (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;
 };