From 51b5539c033cf5a6a7889b3cb56c122713c80423 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Thu, 4 Apr 2013 11:25:06 +0200 Subject: 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 Signed-off-by: Jeff Garzik --- drivers/ata/pata_imx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/ata/pata_imx.c') diff --git a/drivers/ata/pata_imx.c b/drivers/ata/pata_imx.c index f243496c3745..adbb01d8362f 100644 --- a/drivers/ata/pata_imx.c +++ b/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; }; -- cgit v1.2.3