提交 51b5539c 编写于 作者: S Sascha Hauer 提交者: Jeff Garzik

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: NSascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
上级 ff540d02
......@@ -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;
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册