]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/atm/br2684.c
Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-omap-h63xx.git] / net / atm / br2684.c
index 29ef8dc6921b93743f4f2342f40ad3ab9c6260a3..ea9438fc6855fb3a569e7e25a2064d5191a14989 100644 (file)
@@ -101,7 +101,7 @@ static LIST_HEAD(br2684_devs);
 
 static inline struct br2684_dev *BRPRIV(const struct net_device *net_dev)
 {
-       return (struct br2684_dev *)net_dev->priv;
+       return (struct br2684_dev *)netdev_priv(net_dev);
 }
 
 static inline struct net_device *list_entry_brdev(const struct list_head *le)