Re: [PATCH] x86/PCI: ensure to_pci_sysdata usage is guarded by CONFIG_PCI

From: Jason A. Donenfeld
Date: Mon Feb 03 2020 - 16:49:49 EST


On Mon, Feb 3, 2020 at 9:09 PM Bjorn Helgaas <helgaas@xxxxxxxxxx> wrote:
> Another possibility would be to move the to_pci_sysdata() definition
> outside of #ifdef CONFIG_PCI, just as the struct pci_sysdata is. Then
> we wouldn't have to change the availability of __pcibus_to_node().

Seems more reasonable. v2 coming your way momentarily.