1
0
Fork 0

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>
hifive-unleashed-5.1
Sascha Hauer 2013-04-04 11:25:06 +02:00 committed by Jeff Garzik
parent ff540d029a
commit 51b5539c03
1 changed files with 1 additions and 1 deletions

View File

@ -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;
};