Re: bcma: Prevent build of PCI host features in module
From: Kalle Valo <hidden>
Date: 2018-02-28 14:36:51
Also in:
lkml
Matt Redfearn [off-list ref] wrote:
Attempting to build bcma.ko with BCMA_DRIVER_PCI_HOSTMODE=y results in a build error due to use of symbols not exported from vmlinux: ERROR: "pcibios_enable_device" [drivers/bcma/bcma.ko] undefined! ERROR: "register_pci_controller" [drivers/bcma/bcma.ko] undefined! make[1]: *** [scripts/Makefile.modpost:92: __modpost] Error 1 To prevent this, don't allow the host mode feature to be built if CONFIG_BCMA=m Signed-off-by: Matt Redfearn <redacted>
This does not apply to wireless-drivers-next anymore. Also please CC: linux-mips@linux-mips.org James Hogan [off-list ref] Recorded preimage for 'drivers/bcma/Kconfig' error: Failed to merge in the changes. Applying: bcma: Prevent build of PCI host features in module Using index info to reconstruct a base tree... M drivers/bcma/Kconfig Falling back to patching base and 3-way merge... Auto-merging drivers/bcma/Kconfig CONFLICT (content): Merge conflict in drivers/bcma/Kconfig Patch failed at 0001 bcma: Prevent build of PCI host features in module The copy of the patch that failed is found in: .git/rebase-apply/patch Patch set to Changes Requested. -- https://patchwork.kernel.org/patch/10161087/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches