1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-13 18:53:52 +02:00

remove strange direct usage of dev->priv as well

SVN-Revision: 10875
This commit is contained in:
Gabor Juhos 2008-04-20 07:14:45 +00:00
parent 64d1c3a2e1
commit 1ffb70c7b0

View File

@ -826,7 +826,7 @@ static int ar2313_init(struct net_device *dev)
static void ar2313_load_rx_ring(struct net_device *dev, int nr_bufs)
{
struct ar2313_private *sp = ((struct net_device *) dev)->priv;
struct ar2313_private *sp = netdev_priv(dev);
short i, idx;
idx = sp->rx_skbprd;