diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2011-07-23 03:20:13 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-08-08 22:29:31 +0400 |
commit | a656ffcbc7a98a80d2136ae6bbdd8ae2eb48c78a (patch) | |
tree | 9b732b9a15ad8cc9c8790f36f3ac9a00bf6972c2 /arch/mips/include/asm/mach-bcm47xx/bcm47xx.h | |
parent | 08ccf57283f89adbc2ff897ad82d6ad4560db7cd (diff) | |
download | linux-a656ffcbc7a98a80d2136ae6bbdd8ae2eb48c78a.tar.xz |
bcm47xx: make it possible to build bcm47xx without ssb.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'arch/mips/include/asm/mach-bcm47xx/bcm47xx.h')
-rw-r--r-- | arch/mips/include/asm/mach-bcm47xx/bcm47xx.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mach-bcm47xx/bcm47xx.h b/arch/mips/include/asm/mach-bcm47xx/bcm47xx.h index 7cf481bb1a05..d037afb6677e 100644 --- a/arch/mips/include/asm/mach-bcm47xx/bcm47xx.h +++ b/arch/mips/include/asm/mach-bcm47xx/bcm47xx.h @@ -22,11 +22,15 @@ #include <linux/ssb/ssb.h> enum bcm47xx_bus_type { +#ifdef CONFIG_BCM47XX_SSB BCM47XX_BUS_TYPE_SSB, +#endif }; union bcm47xx_bus { +#ifdef CONFIG_BCM47XX_SSB struct ssb_bus ssb; +#endif }; extern union bcm47xx_bus bcm47xx_bus; |