From: Simon Arlott Date: Sun, 6 May 2007 23:56:14 +0000 (-0300) Subject: V4L/DVB (5630): Dvb-core: Handle failures to create devices X-Git-Tag: v2.6.22-rc3~95^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4abdcf933f647763592db6bef001d1fae61a5527;p=pandora-kernel.git 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 Signed-off-by: Trent Piepho Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed