Re: [PATCH] PCI: export pci_find_host_bridge() to fix MFD build error

From: Randy Dunlap
Date: Tue Oct 20 2020 - 10:06:40 EST


On 10/20/20 1:02 AM, Christoph Hellwig wrote:
> On Sun, Oct 18, 2020 at 11:14:53PM -0700, Randy Dunlap wrote:
>> Fix a build error in drivers/mfd/ioc.o by exporting
>> pci_find_host_bridge().
>>
>> ERROR: modpost: "pci_find_host_bridge" [drivers/mfd/ioc3.ko] undefined!
>
> I think the mfd code should be fixed to not depend on such an internal
> symbol instead.
>

Thanks for commenting. and I am not surprised.

Adding Cc: for Thomas and Lee.

--
~Randy