diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-05-26 16:35:32 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-05-26 16:35:32 +0000 |
commit | 70fa84417711d7ee24118e5ee94b0056448ab9b5 (patch) | |
tree | e4d382193c9be135bcea783d57f767f5aedb1265 /package/d80211/src/include/compat_hacks.h | |
parent | 168ecbc98b416cbf405f51e1e06858dc03ab186b (diff) |
nuke the old d80211 backport - will be replaced soon
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7340 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/d80211/src/include/compat_hacks.h')
-rw-r--r-- | package/d80211/src/include/compat_hacks.h | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/package/d80211/src/include/compat_hacks.h b/package/d80211/src/include/compat_hacks.h deleted file mode 100644 index 49550bc92..000000000 --- a/package/d80211/src/include/compat_hacks.h +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef __COMPAT_HACKS -#define __COMPAT_HACKS - -#include <linux/types.h> -#include <linux/workqueue.h> -#include <net/sch_generic.h> - -struct delayed_work { - struct work_struct work; -}; - -#define INIT_DELAYED_WORK(_work, _func) \ - INIT_WORK(&(_work)->work, _func, &(_work)->work) - -#define INIT_WORK_NEW(_work, _func) INIT_WORK(_work, _func, _work) - -#define schedule_delayed_work(_work, interval) schedule_delayed_work(&(_work)->work, interval) -#define cancel_delayed_work(_work) cancel_delayed_work(&(_work)->work) - -static inline struct Qdisc *_qdisc_create_dflt(struct net_device *dev, struct Qdisc_ops *ops) -{ - return qdisc_create_dflt(dev, ops); -} - -#define qdisc_create_dflt(_dev, _ops, _handle) \ - _qdisc_create_dflt(_dev, _ops) - -#endif |