[linux-dvb] CVS and 2.6.13-rc1 don't compil
C.Y.M
syphir at syphir.sytes.net
Thu Jun 30 21:31:57 CEST 2005
Gregoire Favre wrote:
> On Thu, Jun 30, 2005 at 12:10:18PM -0700, C.Y.M wrote:
>
>
>>Sorry, I forgot this one too.
>
>
> Thank, this time it change something :
>
OK, I should really check this before I hit reply. :) This should fix it. I
hope. :)
Make sure all 3 are applied in this order:
dvb-kernel-2.6.13-050630.diff
dvb-kernel-2.6.13-050630.2.diff
dvb-kernel-2.6.13-050630.3.diff
Regards,
C.
-------------- next part --------------
--- dvb-kernel/linux/drivers/media/dvb/dvb-core/dvbdev.c.orig 2005-06-30 12:27:53.000000000 -0700
+++ dvb-kernel/linux/drivers/media/dvb/dvb-core/dvbdev.c 2005-06-30 12:28:48.000000000 -0700
@@ -56,7 +56,11 @@
#define nums2minor(num,type,id) ((num << 6) | (id << 4) | type)
#define MAX_DVB_MINORS (DVB_MAX_ADAPTERS*64)
+#if (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,12))
+static struct class *dvb_class;
+#else
static struct class_simple *dvb_class;
+#endif
static struct dvb_device* dvbdev_find_device (int minor)
{
More information about the linux-dvb
mailing list