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>
This commit is contained in:
parent
34aef6eb1c
commit
a019c5e251
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue