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 "...."

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to