Skip to content

Commit

Permalink
bcma: fix 'SSB_PCICORE_BFL_NOPCI' undeclared build breakage
Browse files Browse the repository at this point in the history
linux-next-20110722/drivers/bcma/driver_pci.c:175: error: 'SSB_PCICORE_BFL_NOPCI' undeclared (first use in this function)

Reported-by: Randy Dunlap <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
  • Loading branch information
linvjw committed Jul 22, 2011
1 parent 8c95b74 commit 6e6e8c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/bcma/driver_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,10 @@ static bool bcma_core_pci_is_in_hostmode(struct bcma_drv_pci *pc)
chipid_top != 0x5300)
return false;

#ifdef CONFIG_SSB_DRIVER_PCICORE
if (bus->sprom.boardflags_lo & SSB_PCICORE_BFL_NOPCI)
return false;
#endif /* CONFIG_SSB_DRIVER_PCICORE */

#if 0
/* TODO: on BCMA we use address from EROM instead of magic formula */
Expand Down

0 comments on commit 6e6e8c5

Please sign in to comment.