PCI: dra7xx: Don't select CONFIG_PCI_DRA7XX_HOST by default

Drivers should not be selected by default because that bloats the kernel
for people who don't need them.

Enable CONFIG_PCI_DRA7XX_HOST by default only if SOC_DRA7XX.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Kishon Vijay Abraham I <kishon@ti.com>
Cc: linux-omap@vger.kernel.org
This commit is contained in:
Bjorn Helgaas 2020-04-08 18:10:54 -05:00
Родитель 8f3d9f3542
Коммит 94b84ac197
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -26,7 +26,7 @@ config PCI_DRA7XX_HOST
depends on OF && HAS_IOMEM && TI_PIPE3
select PCIE_DW_HOST
select PCI_DRA7XX
default y
default y if SOC_DRA7XX
help
Enables support for the PCIe controller in the DRA7xx SoC to work in
host mode. There are two instances of PCIe controller in DRA7xx.