From 4bdbd31d1ae35244fc58d39fc00f31e18599c782 Mon Sep 17 00:00:00 2001 From: Michael Hunold Date: Wed, 30 Apr 2003 10:15:46 +0000 Subject: - introduce dvb_functions.h in order to make the dvb subsystem less dependent on the linux kernel. here is the place to store additional dvb_* functions, which encapsulate linux kernel functionality which cannot be expressed as a one-liner - rename ddelay() to dvb_delay(), move it to dvb_functions.h - change all files to include dvb_functions.h instead of dvb_compat.h - compile fix for the saa7111 driver --- linux/include/media/saa7146.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'linux/include') diff --git a/linux/include/media/saa7146.h b/linux/include/media/saa7146.h index 09fee2ee6..aae821a0b 100644 --- a/linux/include/media/saa7146.h +++ b/linux/include/media/saa7146.h @@ -14,8 +14,9 @@ #include /* for accessing devices */ #include +/* ugly, but necessary to build the dvb stuff under 2.4. */ #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,51) - #include "dvb_compat.h" + #include "dvb_functions.h" #endif #define SAA7146_VERSION_CODE KERNEL_VERSION(0,5,0) -- cgit v1.2.3