Added on commit
eeda3fd6 by Stephen Hemminger in include/linux/netdevice.h.
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,29))
+#include <linux/netdevice.h>
#include <linux/skbuff.h>
#include <linux/usb.h>
return skb->prev;
}
+
+static inline struct net_device_stats *dev_get_stats(struct net_device *dev)
+{
+ return dev->get_stats(dev);
+}
+
extern void usb_unpoison_anchored_urbs(struct usb_anchor *anchor);
#define DIV_ROUND_CLOSEST(x, divisor)( \