summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorAndreas Oberritter <devnull@localhost>2003-02-26 16:35:00 +0000
committerAndreas Oberritter <devnull@localhost>2003-02-26 16:35:00 +0000
commit8126b6e66ef270511d4d7c768afa844c191cf80e (patch)
tree7d5f4c991999b17d555652f1b30f05d2a403e065 /linux/drivers
parent18c27e42e56e7582801b7d693732fa88fb4d16a0 (diff)
downloadmediapointer-dvb-s2-8126b6e66ef270511d4d7c768afa844c191cf80e.tar.gz
mediapointer-dvb-s2-8126b6e66ef270511d4d7c768afa844c191cf80e.tar.bz2
fixed build for kernel versions < 2.5.63
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvb_frontend.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
index 8a0f81934..dadb9d933 100644
--- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -435,7 +435,11 @@ int dvb_frontend_thread (void *data)
dprintk ("%s\n", __FUNCTION__);
lock_kernel ();
+#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,63))
+ daemonize ();
+#else
daemonize ("dvb fe");
+#endif
/* not needed anymore in 2.5.x, done in daemonize() */
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0))
reparent_to_init ();