summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/ttpci/budget-core.c
diff options
context:
space:
mode:
authorHolger Waechtler <devnull@localhost>2003-03-21 11:02:16 +0000
committerHolger Waechtler <devnull@localhost>2003-03-21 11:02:16 +0000
commit5673904df7d5dd00df35988fd6fda922b4000398 (patch)
treeeab25edc57a16ad23a1b0c4aef081d5ac8f0d366 /linux/drivers/media/dvb/ttpci/budget-core.c
parentc2d841f465a26e84edd2e2ff833d3b096110decc (diff)
downloadmediapointer-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/ttpci/budget-core.c')
-rw-r--r--linux/drivers/media/dvb/ttpci/budget-core.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/linux/drivers/media/dvb/ttpci/budget-core.c b/linux/drivers/media/dvb/ttpci/budget-core.c
index 71cbcfffd..bdf81a82e 100644
--- a/linux/drivers/media/dvb/ttpci/budget-core.c
+++ b/linux/drivers/media/dvb/ttpci/budget-core.c
@@ -1,21 +1,8 @@
#include "budget.h"
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,51)
- #define KBUILD_MODNAME budget
-#endif
int budget_debug = 0;
/****************************************************************************
- * General helper functions
- ****************************************************************************/
-
-static inline void ddelay(int i)
-{
- current->state=TASK_INTERRUPTIBLE;
- schedule_timeout((HZ*i)/100);
-}
-
-/****************************************************************************
* TT budget / WinTV Nova
****************************************************************************/