aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ax88796.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ax88796.c')
-rw-r--r--drivers/net/ax88796.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/ax88796.c b/drivers/net/ax88796.c
index b6da4cf3694b..4bebff3faeab 100644
--- a/drivers/net/ax88796.c
+++ b/drivers/net/ax88796.c
@@ -325,7 +325,7 @@ static void ax_block_output(struct net_device *dev, int count,
325static void 325static void
326ax_mii_ei_outbits(struct net_device *dev, unsigned int bits, int len) 326ax_mii_ei_outbits(struct net_device *dev, unsigned int bits, int len)
327{ 327{
328 struct ei_device *ei_local = (struct ei_device *) netdev_priv(dev); 328 struct ei_device *ei_local = netdev_priv(dev);
329 void __iomem *memr_addr = (void __iomem *)dev->base_addr + AX_MEMR; 329 void __iomem *memr_addr = (void __iomem *)dev->base_addr + AX_MEMR;
330 unsigned int memr; 330 unsigned int memr;
331 331
@@ -364,7 +364,7 @@ ax_mii_ei_outbits(struct net_device *dev, unsigned int bits, int len)
364static unsigned int 364static unsigned int
365ax_phy_ei_inbits(struct net_device *dev, int no) 365ax_phy_ei_inbits(struct net_device *dev, int no)
366{ 366{
367 struct ei_device *ei_local = (struct ei_device *) netdev_priv(dev); 367 struct ei_device *ei_local = netdev_priv(dev);
368 void __iomem *memr_addr = (void __iomem *)dev->base_addr + AX_MEMR; 368 void __iomem *memr_addr = (void __iomem *)dev->base_addr + AX_MEMR;
369 unsigned int memr; 369 unsigned int memr;
370 unsigned int result = 0; 370 unsigned int result = 0;
@@ -412,7 +412,7 @@ ax_phy_issueaddr(struct net_device *dev, int phy_addr, int reg, int opc)
412static int 412static int
413ax_phy_read(struct net_device *dev, int phy_addr, int reg) 413ax_phy_read(struct net_device *dev, int phy_addr, int reg)
414{ 414{
415 struct ei_device *ei_local = (struct ei_device *) netdev_priv(dev); 415 struct ei_device *ei_local = netdev_priv(dev);
416 unsigned long flags; 416 unsigned long flags;
417 unsigned int result; 417 unsigned int result;
418 418
@@ -435,7 +435,7 @@ ax_phy_read(struct net_device *dev, int phy_addr, int reg)
435static void 435static void
436ax_phy_write(struct net_device *dev, int phy_addr, int reg, int value) 436ax_phy_write(struct net_device *dev, int phy_addr, int reg, int value)
437{ 437{
438 struct ei_device *ei = (struct ei_device *) netdev_priv(dev); 438 struct ei_device *ei = netdev_priv(dev);
439 struct ax_device *ax = to_ax_dev(dev); 439 struct ax_device *ax = to_ax_dev(dev);
440 unsigned long flags; 440 unsigned long flags;
441 441