Skip to content

Commit

Permalink
pata_imx: use void __iomem * for regs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sascha Hauer authored and Jeff Garzik committed Apr 11, 2013
1 parent ff540d0 commit 51b5539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ata/pata_imx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down

0 comments on commit 51b5539

Please sign in to comment.