Hi, I fixed a compile problem I got in mchehab's tree for the tm6010. Also added check on the return value of dvb_register_adapter. Regards, Jan
diff --git a/linux/drivers/media/video/tm6000/tm6000-dvb.c b/linux/drivers/media/video/tm6000/tm6000-dvb.c --- a/linux/drivers/media/video/tm6000/tm6000-dvb.c +++ b/linux/drivers/media/video/tm6000/tm6000-dvb.c @@ -229,7 +229,13 @@ int tm6000_dvb_register(struct tm6000_co } ret = dvb_register_adapter(&dvb->adapter, "Trident TVMaster 6000 DVB-T", - THIS_MODULE, &dev->udev->dev); + THIS_MODULE, &dev->udev->dev, -1); + if (ret < 0) { + printk(KERN_ERR + "tm6000: couldn't register adapter\n"); + goto adapter_err; + } + dvb->adapter.priv = dev; if (dvb->frontend) {
_______________________________________________ linux-dvb mailing list linux-dvb@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb