Re: DVB driver compile problems with kernel 2.6.19*

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

to build against 2.6.19-rc4-mm1 I use this patch :)
-- 
Grégoire FAVRE  http://gregoire.favre.googlepages.com  http://www.gnupg.org
diff -r 5e917732f9b6 linux/drivers/media/dvb/dvb-core/dvb_frontend.c
--- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c	Fri Nov 03 19:46:54 2006 +0100
+++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c	Sun Nov 05 14:29:47 2006 +0100
@@ -34,7 +34,7 @@
 #include <linux/module.h>
 #include <linux/moduleparam.h>
 #include <linux/list.h>
-#include <linux/suspend.h>
+#include <linux/freezer.h>
 #include <linux/jiffies.h>
 #include <asm/processor.h>
 
diff -r 5e917732f9b6 linux/drivers/media/video/msp3400-driver.c
--- a/linux/drivers/media/video/msp3400-driver.c	Fri Nov 03 19:46:54 2006 +0100
+++ b/linux/drivers/media/video/msp3400-driver.c	Sun Nov 05 14:31:34 2006 +0100
@@ -58,7 +58,7 @@
 #include <media/msp3400.h>
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)
 #include <linux/kthread.h>
-#include <linux/suspend.h>
+#include <linux/freezer.h>
 #endif
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
 #include "i2c-compat.h"
diff -r 5e917732f9b6 linux/drivers/media/video/msp3400-kthreads.c
--- a/linux/drivers/media/video/msp3400-kthreads.c	Fri Nov 03 19:46:54 2006 +0100
+++ b/linux/drivers/media/video/msp3400-kthreads.c	Sun Nov 05 14:31:45 2006 +0100
@@ -30,7 +30,7 @@
 #include <media/msp3400.h>
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,0)
 #include <linux/kthread.h>
-#include <linux/suspend.h>
+#include <linux/freezer.h>
 #endif
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
 #include "i2c-compat.h"
diff -r 5e917732f9b6 v4l/Makefile
--- a/v4l/Makefile	Fri Nov 03 19:46:54 2006 +0100
+++ b/v4l/Makefile	Sun Nov 05 14:28:15 2006 +0100
@@ -237,7 +237,6 @@ config-compat.h:: .myconfig
 	@perl \
 	-e 'print "#ifndef __CONFIG_COMPAT_H__\n";' \
 	-e 'print "#define __CONFIG_COMPAT_H__\n\n";' \
-	-e 'print "#include <linux/config.h>\n\n";' \
 	-e 'while(<>) {' \
 	-e '    next unless /^(\S+)\s*:= (\S+)$$/;' \
 	-e '    print "#undef $$1\n";' \
diff -r 5e917732f9b6 v4l/compat.h
--- a/v4l/compat.h	Fri Nov 03 19:46:54 2006 +0100
+++ b/v4l/compat.h	Sun Nov 05 14:28:15 2006 +0100
@@ -311,7 +311,7 @@ usb_to_input_id(const struct usb_device 
 }
 #endif
 
-#ifndef PCIAGP_FAIL
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19)                                                                 
 	#define PCIAGP_FAIL 0
 #endif
 
_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux