Message ID | 20221025191339.667614-1-helgaas@kernel.org (mailing list archive) |
---|---|
Headers | show |
Series | PCI: Drop controller CONFIG_OF dependencies | expand |
On Tue, Oct 25, 2022 at 02:13:37PM -0500, Bjorn Helgaas wrote: > From: Bjorn Helgaas <bhelgaas@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.
From: Bjorn Helgaas <bhelgaas@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(-)