diff options
author | Trent Piepho <xyzzy@speakeasy.org> | 2009-03-05 02:52:00 -0800 |
---|---|---|
committer | Trent Piepho <xyzzy@speakeasy.org> | 2009-03-05 02:52:00 -0800 |
commit | a6d47ce7fbcc080d77c8f2032febc2a39aca13fa (patch) | |
tree | f3cc9762ff72e5ba9b2d33c080b41ebb7654c6f0 /v4l | |
parent | 9892238b5ecfef471cd6a203d3f9865afdebafb3 (diff) | |
download | mediapointer-dvb-s2-a6d47ce7fbcc080d77c8f2032febc2a39aca13fa.tar.gz mediapointer-dvb-s2-a6d47ce7fbcc080d77c8f2032febc2a39aca13fa.tar.bz2 |
compat: Add INIT_DELAYED_WORK
From: Trent Piepho <xyzzy@speakeasy.org>
Turn it into INIT_WORK for pre 2.6.20.
Priority: normal
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Diffstat (limited to 'v4l')
-rw-r--r-- | v4l/compat.h | 1 |
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) |