]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
netdevice wanrouter: Convert directly reference of netdev->priv
authorWang Chen <wangchen@cn.fujitsu.com>
Thu, 20 Nov 2008 12:26:21 +0000 (04:26 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Nov 2008 12:26:21 +0000 (04:26 -0800)
commit7be6065b39c3f1cfa796667eac1a2170465acc91
tree973a5d4bc0782e25a29d96ecf99b216ab6175446
parent826dd0e1e3c83ce0cd8c295cd0f6e72b8b527809
netdevice wanrouter: Convert directly reference of netdev->priv

1. Make device driver to allocate memory for netdev.
2. Convert all directly reference of netdev->priv to netdev_priv().

Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/cycx_x25.c
net/wanrouter/wanmain.c