]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/workqueue.h
Merge branch 'omap-pool'
[linux-2.6-omap-h63xx.git] / include / linux / workqueue.h
index 3cd51e579ab1c2cddd3960e1154b9c493794a85b..13e1adf55c4c7c0ba30d81bbc54abe6d56b93b5e 100644 (file)
@@ -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;
 };