diff options
author | Trent Piepho <xyzzy@speakeasy.org> | 2007-05-06 16:56:14 -0700 |
---|---|---|
committer | Trent Piepho <xyzzy@speakeasy.org> | 2007-05-06 16:56:14 -0700 |
commit | 11a50240f7f468b2a769b093e8c8341ab0c6e526 (patch) | |
tree | 26a088f14998f10f59d47ce013c7dc2959219dc8 /linux/drivers/media/dvb/ttpci/av7110_av.h | |
parent | 363704d53733c9e4b39840dbe7bedb49a24addb0 (diff) | |
download | mediapointer-dvb-s2-11a50240f7f468b2a769b093e8c8341ab0c6e526.tar.gz mediapointer-dvb-s2-11a50240f7f468b2a769b093e8c8341ab0c6e526.tar.bz2 |
dvb-core: Handle failures to create devices
From: Simon Arlott <simon@fire.lp0.eu>
dvb-core is not started early enough when device drivers that use dvb are
compiled in so dvb_register_device fails (silently) since dvb_class is
NULL, this runs dvb_init using subsys_initcall instead of module_init.
dvb_register_device will now check the return value of class_device_create.
Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Diffstat (limited to 'linux/drivers/media/dvb/ttpci/av7110_av.h')
0 files changed, 0 insertions, 0 deletions