From 98a0a2449d34fea262dae8c5dbe88e78bd2bf3ea Mon Sep 17 00:00:00 2001 From: Michael Hunold Date: Tue, 6 May 2003 15:07:21 +0000 Subject: Add a new "dvb_functions.c" and populate it with the "kernel_thread_setup()" (now: dvb_kernel_thread_setup()) and dvb_usercopy() function. Because of the fact that we want to separate the dvb subsystem, it's sometimes necessary to have some wrapper functions (for example dvb_delay() or dvb_kernel_thread_setup()) to encapsulate linux kernel facilities that can't be expressed as a one-liner. The place for such functions is "dvb_functions.c". By this, we can get rid of "dvb_compat.h" for 2.5 completely. Hooray! I hope I did not break everything again, some cleanup is expected for the build-template stuff, though. --- linux/drivers/media/dvb/ttpci/av7110.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/drivers/media/dvb/ttpci') diff --git a/linux/drivers/media/dvb/ttpci/av7110.c b/linux/drivers/media/dvb/ttpci/av7110.c index 6a0d2878c..11185d662 100644 --- a/linux/drivers/media/dvb/ttpci/av7110.c +++ b/linux/drivers/media/dvb/ttpci/av7110.c @@ -339,7 +339,7 @@ static int arm_thread(void *data) DEB_EE(("av7110: %p\n",av7110)); - kernel_thread_setup ("arm_mon"); + dvb_kernel_thread_setup ("arm_mon"); av7110->arm_thread = current; while (!av7110->arm_rmmod && !signal_pending(current)) { -- cgit v1.2.3