diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-04-04 05:25:06 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2013-04-11 19:37:53 -0400 |
commit | 51b5539c033cf5a6a7889b3cb56c122713c80423 (patch) | |
tree | 5f93b2c124e6b06eb124338e0307d64aa711a615 /drivers/ata | |
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>
Diffstat (limited to 'drivers/ata')
-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 f243496c3745..adbb01d8362f 100644 --- a/drivers/ata/pata_imx.c +++ b/drivers/ata/pata_imx.c | |||
@@ -37,7 +37,7 @@ | |||
37 | struct pata_imx_priv { | 37 | struct pata_imx_priv { |
38 | struct clk *clk; | 38 | struct clk *clk; |
39 | /* timings/interrupt/control regs */ | 39 | /* timings/interrupt/control regs */ |
40 | u8 *host_regs; | 40 | void __iomem *host_regs; |
41 | u32 ata_ctl; | 41 | u32 ata_ctl; |
42 | }; | 42 | }; |
43 | 43 | ||