From 03ad0fac693b608f7a870d1b3b71f73c3429df72 Mon Sep 17 00:00:00 2001 From: Michael Krufky Date: Tue, 11 Oct 2005 20:11:34 +0000 Subject: * ../linux/drivers/media/video/cx88/cx88.h: * ../v4l/Make.config: * ../v4l/Makefile: - Allow to disable build of video-buf-dvb in Make.config using compile flag CONFIG_VIDEO_BUF_DVB - replaced check using this method: -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)) +#ifdef HAVE_VIDEO_BUF_DVB * ../linux/drivers/media/video/saa7134/saa7134.h: - #include in saa7134.h to fix build Signed-off-by: Michael Krufky --- linux/drivers/media/video/cx88/cx88.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'linux/drivers/media/video/cx88') diff --git a/linux/drivers/media/video/cx88/cx88.h b/linux/drivers/media/video/cx88/cx88.h index f8c98a8aa..034c97419 100644 --- a/linux/drivers/media/video/cx88/cx88.h +++ b/linux/drivers/media/video/cx88/cx88.h @@ -1,5 +1,5 @@ /* - * $Id: cx88.h,v 1.85 2005/10/11 05:20:47 mkrufky Exp $ + * $Id: cx88.h,v 1.86 2005/10/11 20:11:34 mkrufky Exp $ * * v4l2 device driver for cx2388x based TV cards * @@ -30,7 +30,7 @@ #include #include #include -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)) +#ifdef HAVE_VIDEO_BUF_DVB #include #endif #include "compat.h" @@ -439,7 +439,7 @@ struct cx8802_dev { int width; int height; -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)) +#ifdef HAVE_VIDEO_BUF_DVB /* for dvb only */ struct videobuf_dvb dvb; void* fe_handle; -- cgit v1.2.3