diff options
-rw-r--r-- | linux/drivers/media/video/cx88/cx88.h | 4 | ||||
-rw-r--r-- | linux/include/media/video-buf-dvb.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/video/cx88/cx88.h b/linux/drivers/media/video/cx88/cx88.h index e9300a2bc..7a7219377 100644 --- a/linux/drivers/media/video/cx88/cx88.h +++ b/linux/drivers/media/video/cx88/cx88.h @@ -39,7 +39,7 @@ #include "cx88-reg.h" #include <linux/version.h> -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,15) +#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) #include <linux/mutex.h> #endif #define CX88_VERSION_CODE KERNEL_VERSION(0,0,5) @@ -322,7 +322,7 @@ struct cx88_core { /* IR remote control state */ struct cx88_IR *ir; -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,15) +#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) struct mutex lock; #else struct semaphore lock; diff --git a/linux/include/media/video-buf-dvb.h b/linux/include/media/video-buf-dvb.h index 49cb08d75..8dcaad6a1 100644 --- a/linux/include/media/video-buf-dvb.h +++ b/linux/include/media/video-buf-dvb.h @@ -12,7 +12,7 @@ struct videobuf_dvb { struct videobuf_queue dvbq; /* video-buf-dvb state info */ -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,15) +#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) struct mutex lock; #else struct semaphore lock; |