broadcom-wl: fix build with bcma or ssb deactivated
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 41046
This commit is contained in:
parent
281f415885
commit
d72ff79546
1 changed files with 4 additions and 4 deletions
|
@ -268,17 +268,17 @@ static int __init wl_glue_init(void)
|
||||||
*/
|
*/
|
||||||
switch (bcm47xx_bus_type)
|
switch (bcm47xx_bus_type)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_SSB
|
#ifdef CONFIG_BCM47XX_SSB
|
||||||
case BCM47XX_BUS_TYPE_SSB:
|
case BCM47XX_BUS_TYPE_SSB:
|
||||||
active_bus_type = WL_GLUE_BUS_TYPE_SSB;
|
active_bus_type = WL_GLUE_BUS_TYPE_SSB;
|
||||||
break;
|
break;
|
||||||
#endif /* CONFIG_SSB */
|
#endif /* CONFIG_BCM47XX_SSB */
|
||||||
|
|
||||||
#ifdef CONFIG_BCMA
|
#ifdef CONFIG_BCM47XX_BCMA
|
||||||
case BCM47XX_BUS_TYPE_BCMA:
|
case BCM47XX_BUS_TYPE_BCMA:
|
||||||
active_bus_type = WL_GLUE_BUS_TYPE_BCMA;
|
active_bus_type = WL_GLUE_BUS_TYPE_BCMA;
|
||||||
break;
|
break;
|
||||||
#endif /* CONFIG_BCMA */
|
#endif /* CONFIG_BCM47XX_BCMA */
|
||||||
}
|
}
|
||||||
#endif /* CONFIG_BCM47XX */
|
#endif /* CONFIG_BCM47XX */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue