Commit a019c5e2 authored by Arnd Bergmann's avatar Arnd Bergmann

net: seeq: use __iomem pointers for MMIO

ARM is moving to stricter checks on readl/write functions,
so we need to use the correct types everywhere.

Cc: netdev@vger.kernel.org
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 34aef6eb
...@@ -99,13 +99,13 @@ typedef enum { ...@@ -99,13 +99,13 @@ typedef enum {
* The SEEQ8005 doesn't like us writing to its registers * The SEEQ8005 doesn't like us writing to its registers
* too quickly. * 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); writeb(v, r);
udelay(1); 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); writew(v, r);
udelay(1); udelay(1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment