Re: [PATCH v3 2/3] ACPI / OSL: Allow PCI to be disabled

From: Christoph Hellwig
Date: Tue Dec 11 2018 - 12:10:01 EST


On Mon, Dec 10, 2018 at 06:13:14PM +0000, Sinan Kaya wrote:
> Getting ready to allow PCI to be disabled with ACPI enabled. Stub
> out calls that depend on PCI.

I think you want to skip building at least all of hwpci.c if CONFIG_PCI
is disabled. Or replace that whole stiking pile of crap with something
resembling C code..