From a6d47ce7fbcc080d77c8f2032febc2a39aca13fa Mon Sep 17 00:00:00 2001 From: Trent Piepho Date: Thu, 5 Mar 2009 02:52:00 -0800 Subject: compat: Add INIT_DELAYED_WORK From: Trent Piepho Turn it into INIT_WORK for pre 2.6.20. Priority: normal Signed-off-by: Trent Piepho --- v4l/compat.h | 1 + 1 file changed, 1 insertion(+) (limited to 'v4l/compat.h') 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) -- cgit v1.2.3