android_kernel_google_msm/drivers/rpmsg
Federico Fuga c8ed7cf355 rpmsg: fix dependency on initialization order
commit 9634252617 upstream.

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.

Signed-off-by: Federico Fuga <fuga@studiofuga.com>
[ohad: rewrite the commit log]
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-07-19 08:58:57 -07:00
..
Kconfig rpmsg: depend on EXPERIMENTAL 2012-02-22 18:28:43 +02:00
Makefile
virtio_rpmsg_bus.c rpmsg: fix dependency on initialization order 2012-07-19 08:58:57 -07:00