Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 51b5539c authored by Sascha Hauer's avatar Sascha Hauer Committed by Jeff Garzik
Browse files

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: default avatarSascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent ff540d02
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
};