diff options
author | Simon Arlott <simon@fire.lp0.eu> | 2007-05-06 20:56:14 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-05-22 16:00:14 -0300 |
commit | 4abdcf933f647763592db6bef001d1fae61a5527 (patch) | |
tree | e5dc6075802215d51f2c1703d474948471bd19dd /drivers/scsi/scsi.h | |
parent | a6d7613226c4e159b12fbaad707ddadf47b38ccf (diff) |
V4L/DVB (5630): Dvb-core: Handle failures to create devices
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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/scsi/scsi.h')
0 files changed, 0 insertions, 0 deletions