s390: ctcm_mpc: Fix build after netdev refcount changes.
authorDavid S. Miller <davem@davemloft.net>
Wed, 13 Oct 2010 16:11:26 +0000 (09:11 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Oct 2010 16:11:26 +0000 (09:11 -0700)
Reported-by: Sachin Sant <sachinp@in.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/ctcm_mpc.c

index 2861e78773cb5f0e4ee319e4cc0928a00953c717..b64881f33f23341ba7c2ce798e223d816d62475c 100644 (file)
@@ -540,7 +540,7 @@ void ctc_mpc_dealloc_ch(int port_num)
 
        CTCM_DBF_TEXT_(MPC_SETUP, CTC_DBF_DEBUG,
                        "%s: %s: refcount = %d\n",
-                       CTCM_FUNTAIL, dev->name, atomic_read(&dev->refcnt));
+                       CTCM_FUNTAIL, dev->name, netdev_refcnt_read(dev));
 
        fsm_deltimer(&priv->restart_timer);
        grp->channels_terminating = 0;