Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a019c5e2 authored by Arnd Bergmann's avatar Arnd Bergmann
Browse files

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
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);