diff options
author | Simon Arlott <simon@fire.lp0.eu> | 2007-05-06 23:56:14 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-05-22 19:00:14 (GMT) |
commit | 4abdcf933f647763592db6bef001d1fae61a5527 (patch) | |
tree | e5dc6075802215d51f2c1703d474948471bd19dd /net/ipv6 | |
parent | a6d7613226c4e159b12fbaad707ddadf47b38ccf (diff) | |
download | linux-fsl-qoriq-4abdcf933f647763592db6bef001d1fae61a5527.tar.xz |
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 'net/ipv6')
0 files changed, 0 insertions, 0 deletions