]> git.baikalelectronics.ru Git - kernel.git/commit
bcma: fix build error when build as module
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 25 Jul 2015 19:10:27 +0000 (21:10 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Sun, 26 Jul 2015 11:53:37 +0000 (14:53 +0300)
commit04007298d84ef12b07e6041284bbbd09f4ded41b
tree4457d6383976e7092d7cb8b9e4da28c817b85f1c
parentd157dd949900767b62f4b16ff3065573f84f4fd9
bcma: fix build error when build as module

Currently of_default_bus_match_table is not exported so we can only use
this feature when bcma is build into the kernel. This patch removes
support for child buses when bcma is build as a module as a temporary
fix for a build problem introduces in this commit:

commit 7f64e609f535c6c3d9477825f51c701d80def18d
Author: Rafał Miłecki <zajec5@gmail.com>
Date:   Sun Jun 28 17:17:13 2015 +0200

    bcma: populate bus DT subnodes as platform_device-s

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Fixes: 7f64e609f535 ("bcma: populate bus DT subnodes as platform_device-s")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/bcma/main.c