Browse Source

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>
Sascha Hauer 12 years ago
parent
commit
51b5539c03
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/ata/pata_imx.c

+ 1 - 1
drivers/ata/pata_imx.c

@@ -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;
 };