netdevice lance: Convert directly reference of netdev->priv
authorWang Chen <wangchen@cn.fujitsu.com>
Thu, 20 Nov 2008 12:05:56 +0000 (04:05 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Nov 2008 12:05:56 +0000 (04:05 -0800)
commitc0103606b7e3db191dcbaf988f28fa26aa711230
tree290c3bd41c59bb5b9b7b3ae33c0abdb286dac603
parent537715226408b83c36b0688a1fb718f572d4dbe6
netdevice lance: Convert directly reference of netdev->priv

This patch is to kill directly reference of netdev->priv too.
Because the private data should be allocated in DMA area, alloc_etherdev()
can't satisfy this needs.
Use netdev->ml_priv to point to lance_private.

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