projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29b4433
)
s390: ctcm_mpc: Fix build after netdev refcount changes.
author
David S. Miller
<davem@davemloft.net>
Wed, 13 Oct 2010 16:11:26 +0000
(09:11 -0700)
committer
David 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
patch
|
blob
|
history
diff --git
a/drivers/s390/net/ctcm_mpc.c
b/drivers/s390/net/ctcm_mpc.c
index 2861e78773cb5f0e4ee319e4cc0928a00953c717..b64881f33f23341ba7c2ce798e223d816d62475c 100644
(file)
--- 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;