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

Christoph Hellwig
2020-10-20T08:02:24Z

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.