From f1e940da2ce33a9b48e62632c7f838b298097609 Mon Sep 17 00:00:00 2001 From: Michael Krufky Date: Mon, 6 Feb 2006 14:00:54 -0500 Subject: sem2mutex: fix local build and backwards-compatability From: Michael Krufky Patch 3320 breaks our repository. This should fix it. Signed-off-by: Michael Krufky --- linux/drivers/media/video/cx88/cx88.h | 4 ++-- linux/include/media/video-buf-dvb.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'linux') 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 -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,15) +#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,15) #include #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; -- cgit v1.2.3