add a gpio feature for devices supporting the generic GPIO interface
[openwrt.git] / target / linux / atheros / files / drivers / net / ar2313 / ar2313.c
index 4e3c1d6..873ee63 100644 (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;
This page took 0.02056 seconds and 4 git commands to generate.