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

From: Christoph Hellwig
Date: Tue Oct 20 2020 - 04:02:25 EST


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.