summaryrefslogtreecommitdiff
path: root/linux/include/media/saa7146.h
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2003-04-30 10:15:46 +0000
committerMichael Hunold <devnull@localhost>2003-04-30 10:15:46 +0000
commit4bdbd31d1ae35244fc58d39fc00f31e18599c782 (patch)
treee1f3211eca651e3003f6cede823cc3d9b017e01a /linux/include/media/saa7146.h
parent154d8f58826e37fee3f32fab0493158e93ed19d4 (diff)
downloadmediapointer-dvb-s2-4bdbd31d1ae35244fc58d39fc00f31e18599c782.tar.gz
mediapointer-dvb-s2-4bdbd31d1ae35244fc58d39fc00f31e18599c782.tar.bz2
- 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
Diffstat (limited to 'linux/include/media/saa7146.h')
-rw-r--r--linux/include/media/saa7146.h3
1 files changed, 2 insertions, 1 deletions
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 <asm/io.h> /* for accessing devices */
#include <linux/stringify.h>
+/* 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)