diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-09-14 20:34:35 +0000 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-09-19 15:37:15 +0200 |
commit | a019c5e25190107a88377cde8918c169d15a7add (patch) | |
tree | afa552db80bf0a31b75647c7c4218e6d16bc2829 /drivers/net/ethernet/seeq | |
parent | 34aef6eb1cf39788b063abef8a33ecd933a0666b (diff) | |
download | op-kernel-dev-a019c5e25190107a88377cde8918c169d15a7add.zip op-kernel-dev-a019c5e25190107a88377cde8918c169d15a7add.tar.gz |
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: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/net/ethernet/seeq')
-rw-r--r-- | drivers/net/ethernet/seeq/ether3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/seeq/ether3.c b/drivers/net/ethernet/seeq/ether3.c index df808ac..6a40dd0 100644 --- 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); |