[linux-dvb] CVS and 2.6.13-rc1 don't compil

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

 



Gregoire Favre wrote:
> Hello,
> 
> compilation fails ending so :
> 
>   CC [M]  drivers/media/dvb/dvb-core/dvb_frontend.o
> drivers/media/dvb/dvb-core/dvb_frontend.c: In function `dvb_frontend_thread':
> drivers/media/dvb/dvb-core/dvb_frontend.c:398: error: too many arguments to function `refrigerator'
> drivers/media/dvb/dvb-core/dvb_frontend.c: In function `dvb_frontend_ioctl':
> drivers/media/dvb/dvb-core/dvb_frontend.c:729: warning: cast from pointer to integer of different size
> drivers/media/dvb/dvb-core/dvb_frontend.c:742: warning: cast from pointer to integer of different size
> make[4]: *** [drivers/media/dvb/dvb-core/dvb_frontend.o] Error 1
> make[3]: *** [drivers/media/dvb/dvb-core] Error 2
> make[2]: *** [drivers/media/dvb] Error 2
> make[1]: *** [drivers/media] Error 2
> make: *** [drivers] Error 2

Try this...

Regards,
C.

-------------- next part --------------
--- dvb-kernel/linux/drivers/media/dvb/dvb-core/dvb_frontend.c.orig	2005-06-30 11:22:39.000000000 -0700
+++ dvb-kernel/linux/drivers/media/dvb/dvb-core/dvb_frontend.c	2005-06-30 11:28:27.000000000 -0700
@@ -394,8 +394,12 @@
 			break;
 		}
 
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,12))
+		try_to_freeze();
+#else
 		if (current->flags & PF_FREEZE)
 			refrigerator(PF_FREEZE);
+#endif
 
 		if (down_interruptible(&fepriv->sem))
 			break;

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

  Powered by Linux