]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
bcma: add support for population subnodes also when build as module
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 19 Sep 2015 12:43:50 +0000 (14:43 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 29 Sep 2015 07:59:27 +0000 (10:59 +0300)
commit69b5f4da26362912e7e56e48c8e1df7fde281e58
tree2b67badd2cd749144d5d6224a6d88b542484c970
parenta32be01772525eba2001be23a570d9e31c58273d
bcma: add support for population subnodes also when build as module

of_default_bus_match_table was not exported earlier, so it could only
be accessed by code compiled into the kernel. A new function
of_platform_default_populate() was added which uses
of_default_bus_match_table and this function is also exported. This way
it is possible to create a bus with the content of
of_default_bus_match_table and we can remove the hacks from bcma.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/bcma/main.c