diff options
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-mpeg.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-mpeg.c b/linux/drivers/media/video/cx88/cx88-mpeg.c index 39a556c63..cb642ca03 100644 --- a/linux/drivers/media/video/cx88/cx88-mpeg.c +++ b/linux/drivers/media/video/cx88/cx88-mpeg.c @@ -58,10 +58,12 @@ MODULE_PARM_DESC(debug,"enable debug messages [mpeg]"); #if defined(CONFIG_MODULES) && defined(MODULE) #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20) -static void request_module_async(void *ptr){ +static void request_module_async(void *ptr) +{ struct cx8802_dev *dev=(struct cx8802_dev*)ptr; #else -static void request_module_async(struct work_struct *work){ +static void request_module_async(struct work_struct *work) +{ struct cx8802_dev *dev=container_of(work, struct cx8802_dev, request_module_wk); #endif |