projects
/
openwrt
/
staging
/
nbd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f8d439
)
fix compat hacks for init_work
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 2 Feb 2007 14:24:15 +0000
(14:24 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 2 Feb 2007 14:24:15 +0000
(14:24 +0000)
SVN-Revision: 6253
package/d80211/src/include/compat_hacks.h
patch
|
blob
|
history
diff --git
a/package/d80211/src/include/compat_hacks.h
b/package/d80211/src/include/compat_hacks.h
index 07f46cbcbaf204e6a1b014efeec12e400997e851..49550bc9243aeea68570a13edaf30ebde30bf8dc 100644
(file)
--- a/
package/d80211/src/include/compat_hacks.h
+++ b/
package/d80211/src/include/compat_hacks.h
@@
-10,9
+10,9
@@
struct delayed_work {
};
#define INIT_DELAYED_WORK(_work, _func) \
- INIT_WORK(&(_work)->work, _func,
NULL
)
+ INIT_WORK(&(_work)->work, _func,
&(_work)->work
)
-#define INIT_WORK_NEW(_work, _func) INIT_WORK(_work, _func,
NULL
)
+#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)