]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: dwc: Clean up Kconfig dependencies (PCIE_DW_HOST)
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 23 Jun 2021 14:01:02 +0000 (17:01 +0300)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Thu, 7 Oct 2021 14:55:51 +0000 (15:55 +0100)
commit1f622465c94a1299c81d69d4abb0a760fc7e364a
treecedc7e769d84948113653d0ba0c95c2890797078
parentd544b61aeda5eb722c9e20e104b0855e67e779d6
PCI: dwc: Clean up Kconfig dependencies (PCIE_DW_HOST)

The "depends on" Kconfig construct is a no-op in options that
are selected and therefore has no effect. Remove it.

Furthermore, there is no need to repeat menu dependencies (PCI).

Clean up the users of PCIE_DW_HOST and introduce idiom

depends on PCI_MSI_IRQ_DOMAIN
select PCIE_DW_HOST

for all of them.

Link: https://lore.kernel.org/r/20210623140103.47818-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
drivers/pci/controller/dwc/Kconfig