]> git.karo-electronics.de Git - linux-beck.git/commit
netdevice hdlc: Convert directly reference of netdev->priv
authorWang Chen <wangchen@cn.fujitsu.com>
Sat, 22 Nov 2008 00:34:18 +0000 (16:34 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 22 Nov 2008 00:34:18 +0000 (16:34 -0800)
commit2baf8a2daab65cdd3f20bfeb4676a2f6aff7c3bf
tree957eb111fad4ce334ff8d49861a08d1fcf14e64a
parentf757fec4b0d45dfcb52f9a914a12225a6a0a3e05
netdevice hdlc: Convert directly reference of netdev->priv

For killing directly reference of netdev->priv, use netdev->ml_priv to replace it.
Because the private pvc data comes from add_pvc() and can't be allocated in
alloc_netdev().

Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Acked-by: Krzysztof Halasa <khc@pm.waw.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/hdlc_fr.c
include/linux/hdlc.h