git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'topic/hda-cache' into topic/hda
[pandora-kernel.git]
/
include
/
linux
/
workqueue.h
diff --git
a/include/linux/workqueue.h
b/include/linux/workqueue.h
index
3cd51e5
..
13e1adf
100644
(file)
--- a/
include/linux/workqueue.h
+++ b/
include/linux/workqueue.h
@@
-41,6
+41,11
@@
struct delayed_work {
struct timer_list timer;
};
+static inline struct delayed_work *to_delayed_work(struct work_struct *work)
+{
+ return container_of(work, struct delayed_work, work);
+}
+
struct execute_work {
struct work_struct work;
};