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/drivers/media/dvb/frontends/stv0299.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'linux/drivers/media/dvb/frontends/stv0299.c') diff --git a/linux/drivers/media/dvb/frontends/stv0299.c b/linux/drivers/media/dvb/frontends/stv0299.c index 936dbb91b..a7aa39da2 100644 --- a/linux/drivers/media/dvb/frontends/stv0299.c +++ b/linux/drivers/media/dvb/frontends/stv0299.c @@ -43,7 +43,7 @@ #include #include "dvb_frontend.h" -#include "dvb_compat.h" +#include "dvb_functions.h" static int debug = 0; #define dprintk if (debug) printk @@ -434,7 +434,7 @@ int stv0299_wait_diseqc_fifo (struct dvb_i2c_bus *i2c, int timeout) dprintk ("%s: timeout!!\n", __FUNCTION__); return -ETIMEDOUT; } - ddelay(10); + dvb_delay(10); }; return 0; @@ -453,7 +453,7 @@ int stv0299_wait_diseqc_idle (struct dvb_i2c_bus *i2c, int timeout) dprintk ("%s: timeout!!\n", __FUNCTION__); return -ETIMEDOUT; } - ddelay(10); + dvb_delay(10); }; return 0; -- cgit v1.2.3