From d22d877ba4e70ddd1fab7d42ab400e12948c1204 Mon Sep 17 00:00:00 2001 From: juhosg Date: Sun, 20 Apr 2008 07:14:45 +0000 Subject: [atheros] remove strange direct usage of dev->priv as well git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10875 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/atheros/files/drivers/net/ar2313/ar2313.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/atheros/files') diff --git a/target/linux/atheros/files/drivers/net/ar2313/ar2313.c b/target/linux/atheros/files/drivers/net/ar2313/ar2313.c index 4e3c1d64c..873ee6397 100644 --- a/target/linux/atheros/files/drivers/net/ar2313/ar2313.c +++ b/target/linux/atheros/files/drivers/net/ar2313/ar2313.c @@ -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; -- cgit v1.2.3