From: David S. Miller Date: Wed, 13 Oct 2010 16:11:26 +0000 (-0700) Subject: s390: ctcm_mpc: Fix build after netdev refcount changes. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9fbb711ee1a70826440502133903d4df025c0b78;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git s390: ctcm_mpc: Fix build after netdev refcount changes. Reported-by: Sachin Sant Signed-off-by: David S. Miller --- 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;