v4l-dvb compile error - net_device->xmit_lock

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

 



Hi all,

I just tried to compile the latest v4l-dvb pull on FC5 with kernel 
2.6.17-1.2157_FC5. I got a compile error on dvb_net.c saying there was no 
xmit_lock member in struct net_device. 

After thoroughly checking linux/netdevice.h files from different kernel 
versions, I noticed a change in the name of xmit_lock to _xmit_lock. I was 
comparing my 2.6.17 kernel to a 2.6.16 kernel.

The solution:
Add a line reading
#define xmit_lock _xmit_lock
to dvb_net.c

I doubt this is the correct way to solve the problem, so I haven't prepared a 
diff, but I do want to raise the issue for those who know the inner workings 
of the dvb drivers.

Regards,

Nick

_______________________________________________

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