WSL2-Linux-Kernel/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
driver_chipcommon_sflash.c
driver_extif.c
driver_gige.c
driver_gpio.c
driver_mipscore.c
driver_pcicore.c
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
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