diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-04-04 11:25:06 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2013-04-11 19:37:53 -0400 |
commit | 51b5539c033cf5a6a7889b3cb56c122713c80423 (patch) | |
tree | 5f93b2c124e6b06eb124338e0307d64aa711a615 | |
parent | ff540d029af1a5744fbf7c9b837801e46f683556 (diff) |
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>
-rw-r--r-- | drivers/ata/pata_imx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_imx.c b/drivers/ata/pata_imx.c index f243496c374..adbb01d8362 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; }; |