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>
This commit is contained in:
parent
ff540d029a
commit
51b5539c03
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue