Re: [PATCH 2/2] PCI: controller: avoid building empty drivers

2021-02-27 Thread Arnd Bergmann
On Fri, Feb 26, 2021 at 8:08 PM Robert Richter wrote: > On 25.02.21 15:37:10, Arnd Bergmann wrote: > > A possible double inclusion isn't really nice here, but it should work > that way. > > Also, the menu entry for the driver is in fact only for the OF case, > as it is always included for ACPI eve

Re: [PATCH 2/2] PCI: controller: avoid building empty drivers

2021-02-26 Thread Robert Richter
On 25.02.21 15:37:10, Arnd Bergmann wrote: > From: Arnd Bergmann > > There are harmless warnings when compile testing the kernel with > CONFIG_TRIM_UNUSED_KSYMS: > > drivers/pci/controller/dwc/pcie-al.o: no symbols > drivers/pci/controller/pci-thunder-ecam.o: no symbols > drivers/pci/controller/

[PATCH 2/2] PCI: controller: avoid building empty drivers

2021-02-25 Thread Arnd Bergmann
From: Arnd Bergmann There are harmless warnings when compile testing the kernel with CONFIG_TRIM_UNUSED_KSYMS: drivers/pci/controller/dwc/pcie-al.o: no symbols drivers/pci/controller/pci-thunder-ecam.o: no symbols drivers/pci/controller/pci-thunder-pem.o: no symbols The problem here is that the