mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-22 17:01:14 +00:00
bcma: fix 'SSB_PCICORE_BFL_NOPCI' undeclared build breakage
linux-next-20110722/drivers/bcma/driver_pci.c:175: error: 'SSB_PCICORE_BFL_NOPCI' undeclared (first use in this function) Reported-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
8c95b74d8d
commit
6e6e8c510a
1 changed files with 2 additions and 0 deletions
|
@ -172,8 +172,10 @@ static bool bcma_core_pci_is_in_hostmode(struct bcma_drv_pci *pc)
|
||||||
chipid_top != 0x5300)
|
chipid_top != 0x5300)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
#ifdef CONFIG_SSB_DRIVER_PCICORE
|
||||||
if (bus->sprom.boardflags_lo & SSB_PCICORE_BFL_NOPCI)
|
if (bus->sprom.boardflags_lo & SSB_PCICORE_BFL_NOPCI)
|
||||||
return false;
|
return false;
|
||||||
|
#endif /* CONFIG_SSB_DRIVER_PCICORE */
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
/* TODO: on BCMA we use address from EROM instead of magic formula */
|
/* TODO: on BCMA we use address from EROM instead of magic formula */
|
||||||
|
|
Loading…
Reference in a new issue