bcma: use boardflags define from ssb code
authorRafał Miłecki <zajec5@gmail.com>
Sat, 23 Jul 2011 09:10:12 +0000 (11:10 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 9 Aug 2011 19:42:36 +0000 (15:42 -0400)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/bcma/driver_pci.c

index 405537662392c4f5adfd5cce90da95b994d4d0ac..81f3d0a4b856cb96b78c5492e779f1042c2788c5 100644 (file)
@@ -173,7 +173,7 @@ static bool bcma_core_pci_is_in_hostmode(struct bcma_drv_pci *pc)
                return false;
 
 #ifdef CONFIG_SSB_DRIVER_PCICORE
-       if (bus->sprom.boardflags_lo & SSB_PCICORE_BFL_NOPCI)
+       if (bus->sprom.boardflags_lo & SSB_BFL_NOPCI)
                return false;
 #endif /* CONFIG_SSB_DRIVER_PCICORE */