From: Federico Fuga Date: Mon, 16 Jul 2012 07:36:51 +0000 (+0300) Subject: rpmsg: fix dependency on initialization order X-Git-Tag: v3.5~25^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9634252617441991b01dacaf4040866feecaf36f;p=pandora-kernel.git rpmsg: fix dependency on initialization order When rpmsg drivers are built into the kernel, they must not initialize before the rpmsg bus does, otherwise they'd trigger a BUG() in drivers/base/driver.c line 169 (driver_register()). To fix that, and to stop depending on arbitrary linkage ordering of those built-in rpmsg drivers, we make the rpmsg bus initialize at subsys_initcall. Cc: stable Signed-off-by: Federico Fuga [ohad: rewrite the commit log] Signed-off-by: Ohad Ben-Cohen --- Reading git-diff-tree failed