[PATCH 0/2] PCI: Drop controller CONFIG_OF dependencies

Bjorn Helgaas helgaas at kernel.org
Thu Nov 10 13:03:24 PST 2022


On Tue, Oct 25, 2022 at 02:13:37PM -0500, Bjorn Helgaas wrote:
> From: Bjorn Helgaas <bhelgaas at google.com>
> 
> Drop controller CONFIG_OF dependencies so we can compile-test drivers even
> without CONFIG_OF being enabled.  OF provides stub functions when CONFIG_OF
> is not set.
> 
> Bjorn Helgaas (2):
>   PCI: Drop of_match_ptr() to avoid unused variables
>   PCI: Drop controller CONFIG_OF dependencies
> 
>  drivers/pci/controller/Kconfig          | 15 ++-------------
>  drivers/pci/controller/cadence/Kconfig  |  6 ------
>  drivers/pci/controller/dwc/Kconfig      | 25 ++++++++++++-------------
>  drivers/pci/controller/mobiveil/Kconfig |  1 -
>  drivers/pci/controller/pci-ftpci100.c   |  2 +-
>  drivers/pci/controller/pci-v3-semi.c    |  2 +-
>  6 files changed, 16 insertions(+), 35 deletions(-)

I put these on my pci/kbuild branch and propose to merge them at the
end.  Lorenzo, let me know if you prefer something else.



More information about the linux-arm-kernel mailing list