summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-04-04 11:25:06 +0200
committerJeff Garzik <jgarzik@redhat.com>2013-04-11 19:37:53 -0400
commit51b5539c033cf5a6a7889b3cb56c122713c80423 (patch)
tree5f93b2c124e6b06eb124338e0307d64aa711a615 /drivers/ata
parentff540d029af1a5744fbf7c9b837801e46f683556 (diff)
downloadlinux-51b5539c033cf5a6a7889b3cb56c122713c80423.tar.bz2
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>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/pata_imx.c2
1 files changed, 1 insertions, 1 deletions
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;
};