diff options
author | Wang Chen <wangchen@cn.fujitsu.com> | 2008-12-04 00:49:46 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-04 00:49:46 +0100 |
commit | 838361fe7828a3ad1aae8dee87620474931dac5e (patch) | |
tree | f13348e539f193b46c45365587df155abb56b582 /drivers/isdn/i4l/isdn_concap.c | |
parent | hysdn: Kill directly reference of netdev->priv (diff) | |
download | linux-838361fe7828a3ad1aae8dee87620474931dac5e.tar.xz linux-838361fe7828a3ad1aae8dee87620474931dac5e.zip |
isdn: Kill directly reference of netdev->priv
Simply use netdev_priv() to replace netdev->priv.
Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/i4l/isdn_concap.c')
-rw-r--r-- | drivers/isdn/i4l/isdn_concap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/i4l/isdn_concap.c b/drivers/isdn/i4l/isdn_concap.c index 0193b6f7c70c..46048e55f241 100644 --- a/drivers/isdn/i4l/isdn_concap.c +++ b/drivers/isdn/i4l/isdn_concap.c @@ -42,7 +42,7 @@ static int isdn_concap_dl_data_req(struct concap_proto *concap, struct sk_buff *skb) { struct net_device *ndev = concap -> net_dev; - isdn_net_dev *nd = ((isdn_net_local *) ndev->priv)->netdev; + isdn_net_dev *nd = ((isdn_net_local *) netdev_priv(ndev))->netdev; isdn_net_local *lp = isdn_net_get_locked_lp(nd); IX25DEBUG( "isdn_concap_dl_data_req: %s \n", concap->net_dev->name); @@ -61,7 +61,7 @@ static int isdn_concap_dl_data_req(struct concap_proto *concap, struct sk_buff * static int isdn_concap_dl_connect_req(struct concap_proto *concap) { struct net_device *ndev = concap -> net_dev; - isdn_net_local *lp = (isdn_net_local *) ndev->priv; + isdn_net_local *lp = (isdn_net_local *) netdev_priv(ndev); int ret; IX25DEBUG( "isdn_concap_dl_connect_req: %s \n", ndev -> name); |