From af528a27c455675ed706688a488bd36d30ec074c Mon Sep 17 00:00:00 2001 From: Vladimir Sokolovsky Date: Thu, 12 Jul 2012 23:26:36 +0300 Subject: [PATCH] compat: Add netdev_tx_sent_queue and netdev_tx_completed_queue [linux-2.6] (master)$ git describe --contains \ c5d67bd78c5dc540e3461c36fb3d389fbe0de4c3 v3.3-rc1~182^2~426 Signed-off-by: Vladimir Sokolovsky --- include/linux/compat-3.3.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/linux/compat-3.3.h b/include/linux/compat-3.3.h index 3342852..45a078a 100644 --- a/include/linux/compat-3.3.h +++ b/include/linux/compat-3.3.h @@ -72,6 +72,16 @@ module_exit(__driver##_exit); module_driver(__usb_driver, usb_register, \ usb_deregister) +static inline void netdev_tx_sent_queue(struct netdev_queue *dev_queue, + unsigned int bytes) +{ +} + +static inline void netdev_tx_completed_queue(struct netdev_queue *dev_queue, + unsigned pkts, unsigned bytes) +{ +} + #endif /* (LINUX_VERSION_CODE < KERNEL_VERSION(3,3,0)) */ #endif /* LINUX_3_3_COMPAT_H */ -- 2.46.0