Messages in this thread | | | From | Arnd Bergmann <> | Date | Sat, 27 Feb 2021 13:31:21 +0100 | Subject | Re: [PATCH 2/2] PCI: controller: avoid building empty drivers |
| |
On Fri, Feb 26, 2021 at 8:08 PM Robert Richter <rric@kernel.org> 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 even if the option is disabled (and > thus the choice is useless). But this is unrelated to this patch.
Yes, I considered doing this using Kconfig syntax by adding another symbol for each affected driver and selecting those, but the Makefile hack seemed easier here.
> Reviewed-by: Robert Richter <rric@kernel.org>
Thanks,
Arnd
| |