diff options
author | David S. Miller <davem@davemloft.net> | 2010-10-13 18:11:26 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-13 18:11:26 +0200 |
commit | 9fbb711ee1a70826440502133903d4df025c0b78 (patch) | |
tree | 9e1b180f9544d54cf2c763a200a355c8a523104d /drivers/s390 | |
parent | net: percpu net_device refcount (diff) | |
download | linux-9fbb711ee1a70826440502133903d4df025c0b78.tar.xz linux-9fbb711ee1a70826440502133903d4df025c0b78.zip |
s390: ctcm_mpc: Fix build after netdev refcount changes.
Reported-by: Sachin Sant <sachinp@in.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/net/ctcm_mpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/net/ctcm_mpc.c b/drivers/s390/net/ctcm_mpc.c index 2861e78773cb..b64881f33f23 100644 --- a/drivers/s390/net/ctcm_mpc.c +++ b/drivers/s390/net/ctcm_mpc.c @@ -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; |