summaryrefslogtreecommitdiff
path: root/v4l/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'v4l/compat.h')
-rw-r--r--v4l/compat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/v4l/compat.h b/v4l/compat.h
index 3df844c87..44878ce73 100644
--- a/v4l/compat.h
+++ b/v4l/compat.h
@@ -11,6 +11,7 @@
* delayed_work in the same context as something named work_struct. */
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 20)
#define delayed_work work_struct
+#define INIT_DELAYED_WORK(a,b,c) INIT_WORK(a,b,c)
#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 24)