diff options
Diffstat (limited to 'linux/include/media/video-buf-dvb.h')
-rw-r--r-- | linux/include/media/video-buf-dvb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/include/media/video-buf-dvb.h b/linux/include/media/video-buf-dvb.h index 94d16e0ed..49cb08d75 100644 --- a/linux/include/media/video-buf-dvb.h +++ b/linux/include/media/video-buf-dvb.h @@ -12,7 +12,11 @@ struct videobuf_dvb { struct videobuf_queue dvbq; /* video-buf-dvb state info */ +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,15) + struct mutex lock; +#else struct semaphore lock; +#endif struct task_struct *thread; int nfeeds; |