summaryrefslogtreecommitdiffstats
path: root/drivers/bcma/Kconfig
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2015-06-07 13:15:31 +0200
committerKalle Valo <kvalo@codeaurora.org>2015-06-08 13:33:26 +0200
commit49280625eb826ab07882e91fb84023a54317317f (patch)
tree8c5bacc062800d1c231cb4ef72494b2220b62f30 /drivers/bcma/Kconfig
parentbcma: make calls to PCI hostmode functions config-safe (diff)
downloadlinux-49280625eb826ab07882e91fb84023a54317317f.tar.xz
linux-49280625eb826ab07882e91fb84023a54317317f.zip
bcma: lower dependency of BCMA_DRIVER_PCI_HOSTMODE
This extension of BCMA_DRIVER_PCI has no reason to depend on BCMA_HOST_PCI. User may just want to have PCI device attached to SoC registered without enabling any extra client mode code. This can be useful when having non-bcma PCI device attached or when using other PCI driver. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/bcma/Kconfig')
-rw-r--r--drivers/bcma/Kconfig12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/bcma/Kconfig b/drivers/bcma/Kconfig
index fc6ffcfa8061..be5fffb6da24 100644
--- a/drivers/bcma/Kconfig
+++ b/drivers/bcma/Kconfig
@@ -29,12 +29,6 @@ config BCMA_HOST_PCI
select BCMA_DRIVER_PCI
default y
-config BCMA_DRIVER_PCI_HOSTMODE
- bool "Driver for PCI core working in hostmode"
- depends on BCMA && MIPS && BCMA_HOST_PCI
- help
- PCI core hostmode operation (external PCI bus).
-
config BCMA_HOST_SOC
bool "Support for BCMA in a SoC"
depends on BCMA
@@ -61,6 +55,12 @@ config BCMA_DRIVER_PCI
This driver is also prerequisite for a hostmode PCIe core
support.
+config BCMA_DRIVER_PCI_HOSTMODE
+ bool "Driver for PCI core working in hostmode"
+ depends on BCMA && MIPS && BCMA_DRIVER_PCI
+ help
+ PCI core hostmode operation (external PCI bus).
+
config BCMA_DRIVER_MIPS
bool "BCMA Broadcom MIPS core driver"
depends on BCMA && MIPS