projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff540d0
)
pata_imx: use void __iomem * for regs
author
Sascha Hauer
<s.hauer@pengutronix.de>
Thu, 4 Apr 2013 09:25:06 +0000
(11:25 +0200)
committer
Jeff Garzik
<jgarzik@redhat.com>
Thu, 11 Apr 2013 23:37:53 +0000
(19:37 -0400)
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>
drivers/ata/pata_imx.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ata/pata_imx.c
b/drivers/ata/pata_imx.c
index f243496c374569500466d3bfd79715bd75a81273..adbb01d8362fbb29f7fb66b7bd5f6c5ee1918d79 100644
(file)
--- a/
drivers/ata/pata_imx.c
+++ b/
drivers/ata/pata_imx.c
@@
-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;
};