projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
34aef6e
)
net: seeq: use __iomem pointers for MMIO
author
Arnd Bergmann
<
[email protected]
>
Fri, 14 Sep 2012 20:34:35 +0000
(20:34 +0000)
committer
Arnd Bergmann
<
[email protected]
>
Wed, 19 Sep 2012 13:37:15 +0000
(15:37 +0200)
ARM is moving to stricter checks on readl/write functions,
so we need to use the correct types everywhere.
Cc:
[email protected]
Cc: "David S. Miller" <
[email protected]
>
Signed-off-by: Arnd Bergmann <
[email protected]
>
drivers/net/ethernet/seeq/ether3.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/seeq/ether3.c
b/drivers/net/ethernet/seeq/ether3.c
index df808ac8cb6535c88ad0eca0c3aacdd98976e83d..6a40dd03a32f16b2289db8605daf1f77e564a3f8 100644
(file)
--- a/
drivers/net/ethernet/seeq/ether3.c
+++ b/
drivers/net/ethernet/seeq/ether3.c
@@
-99,13
+99,13
@@
typedef enum {
* The SEEQ8005 doesn't like us writing to its registers
* too quickly.
*/
-static inline void ether3_outb(int v,
const
void __iomem *r)
+static inline void ether3_outb(int v, void __iomem *r)
{
writeb(v, r);
udelay(1);
}
-static inline void ether3_outw(int v,
const
void __iomem *r)
+static inline void ether3_outw(int v, void __iomem *r)
{
writew(v, r);
udelay(1);