projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c95b74
)
bcma: fix 'SSB_PCICORE_BFL_NOPCI' undeclared build breakage
author
John W. Linville
<linville@tuxdriver.com>
Fri, 22 Jul 2011 20:22:14 +0000
(16:22 -0400)
committer
John W. Linville
<linville@tuxdriver.com>
Fri, 22 Jul 2011 20:24:01 +0000
(16:24 -0400)
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>
drivers/bcma/driver_pci.c
patch
|
blob
|
history
diff --git
a/drivers/bcma/driver_pci.c
b/drivers/bcma/driver_pci.c
index
dc6f34a
..
745d264
100644
(file)
--- 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)
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 */