linux/drivers/ssb
Arnd Bergmann b7e2d195cc ssb: mark ssb_bus_register as __maybe_unused
The SoC variant of the ssb code is now optional like the other
ones, which means we can build the framwork without any
front-end, but that results in a warning:

drivers/ssb/main.c:616:12: warning: 'ssb_bus_register' defined but not used [-Wunused-function]

This annotates the ssb_bus_register function as __maybe_unused to
shut up the warning. A configuration like this will not work on
any hardware of course, but we still want this to silently build
without warnings if the configuration is allowed in the first
place.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Fixes: 845da6e58e ("ssb: add Kconfig entry for compiling SoC related code")
Acked-by: Michael Buesch <m@bues.ch>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2016-01-19 21:25:57 +02:00
..
Kconfig ssb: pick SoC invariants code from MIPS BCM47xx arch 2015-12-16 16:36:25 +02:00
Makefile ssb: add Kconfig entry for compiling SoC related code 2015-10-28 21:05:21 +02:00
b43_pci_bridge.c
bridge_pcmcia_80211.c ssb: pick PCMCIA host code support from b43 driver 2015-10-28 21:04:04 +02:00
driver_chipcommon.c
driver_chipcommon_pmu.c SSB: Fix handling of ssb_pmu_get_alp_clock() 2015-06-09 16:38:06 +02:00
driver_chipcommon_sflash.c
driver_extif.c
driver_gige.c treewide: Remove unnecessary SSB_DEVTABLE_END macro 2015-02-11 14:38:29 -08:00
driver_gpio.c
driver_mipscore.c MIPS: BCM47xx: Move NVRAM header to the include/linux/. 2015-04-01 17:22:00 +02:00
driver_pcicore.c ssb: extend fix for PCI related silent reboots to all chipsets 2015-05-20 16:36:06 +03:00
embedded.c
host_soc.c ssb: pick SoC invariants code from MIPS BCM47xx arch 2015-12-16 16:36:25 +02:00
main.c ssb: mark ssb_bus_register as __maybe_unused 2016-01-19 21:25:57 +02:00
pci.c
pcihost_wrapper.c SSB / B44: fix WOL for BCM4401 2014-12-04 11:32:46 -05:00
pcmcia.c ssb: make ssb_pcmcia_switch_core static 2015-09-29 11:03:14 +03:00
scan.c
sdio.c ssb: make ssb_sdio_switch_core static 2015-09-29 11:00:58 +03:00
sprom.c
ssb_private.h ssb: pick SoC invariants code from MIPS BCM47xx arch 2015-12-16 16:36:25 +02:00