diff options
author | Holger Waechtler <devnull@localhost> | 2003-03-21 11:02:16 +0000 |
---|---|---|
committer | Holger Waechtler <devnull@localhost> | 2003-03-21 11:02:16 +0000 |
commit | 5673904df7d5dd00df35988fd6fda922b4000398 (patch) | |
tree | eab25edc57a16ad23a1b0c4aef081d5ac8f0d366 /linux/drivers/media/dvb/frontends/ves1820.c | |
parent | c2d841f465a26e84edd2e2ff833d3b096110decc (diff) | |
download | mediapointer-dvb-s2-5673904df7d5dd00df35988fd6fda922b4000398.tar.gz mediapointer-dvb-s2-5673904df7d5dd00df35988fd6fda922b4000398.tar.bz2 |
- more portability changes, move ddelay() into compat.h
- introduce kernel_thread_setup() function to encapsulate linux process model related stuff
Diffstat (limited to 'linux/drivers/media/dvb/frontends/ves1820.c')
-rw-r--r-- | linux/drivers/media/dvb/frontends/ves1820.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/linux/drivers/media/dvb/frontends/ves1820.c b/linux/drivers/media/dvb/frontends/ves1820.c index e5cf4465c..10e9d59b5 100644 --- a/linux/drivers/media/dvb/frontends/ves1820.c +++ b/linux/drivers/media/dvb/frontends/ves1820.c @@ -24,6 +24,7 @@ #include <linux/delay.h> #include "dvb_frontend.h" +#include "compat.h" #if 0 @@ -64,13 +65,6 @@ #define GET_DEMOD_ADDR(data) ((u8) (((int) data >> 24) & 0xff)) -static inline -void ddelay (int ms) -{ - current->state=TASK_INTERRUPTIBLE; - schedule_timeout((HZ*ms)/1000); -} - static struct dvb_frontend_info ves1820_info = { |