On Tue, 1 May 2007, Simon Arlott wrote:
> dvb-core is not started early enough when device drivers that use dvb are
> compiled in so device_register_device fails (silently) since dvb_class is
> NULL, this runs dvb_init using subsys_initclass instead of module_init.
>
> dvb_register_device will now check the return value of class_device_create.

Good catch.

> +             printk("%s: failed to create device dvb%d.%s%d (%ld)\n", 
> __FUNCTION__,
> +                     adap->num, dnames[type], id, PTR_ERR(clsdev));
> +             return PTR_ERR(clsdev);

printk(KERN_ERR "...."


_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

Reply via email to