aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/bcma/driver_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/bcma/driver_pci.c')
-rw-r--r--drivers/bcma/driver_pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/bcma/driver_pci.c b/drivers/bcma/driver_pci.c
index dc6f34ac96a0..745d26491291 100644
--- a/drivers/bcma/driver_pci.c
+++ b/drivers/bcma/driver_pci.c
@@ -172,8 +172,10 @@ static bool bcma_core_pci_is_in_hostmode(struct bcma_drv_pci *pc)
172 chipid_top != 0x5300) 172 chipid_top != 0x5300)
173 return false; 173 return false;
174 174
175#ifdef CONFIG_SSB_DRIVER_PCICORE
175 if (bus->sprom.boardflags_lo & SSB_PCICORE_BFL_NOPCI) 176 if (bus->sprom.boardflags_lo & SSB_PCICORE_BFL_NOPCI)
176 return false; 177 return false;
178#endif /* CONFIG_SSB_DRIVER_PCICORE */
177 179
178#if 0 180#if 0
179 /* TODO: on BCMA we use address from EROM instead of magic formula */ 181 /* TODO: on BCMA we use address from EROM instead of magic formula */