linux-brain/drivers/ssb
Arnd Bergmann 8205dd3aa3 ssb: mark ssb_bus_register as __maybe_unused
commit b7e2d195cc upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-25 11:03:44 +01:00
..
b43_pci_bridge.c ssb: add PCI ID 0x4351 2014-08-25 15:39:22 -04:00
bridge_pcmcia_80211.c ssb: pick PCMCIA host code support from b43 driver 2015-10-28 21:04:04 +02:00
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 ssb: fix sparse warnings in driver_chipcommon_sflash.c 2014-01-03 15:37:01 -05:00
driver_chipcommon.c ssb: Convert ssb_printk to ssb_<level> 2013-03-06 16:24:23 -05:00
driver_extif.c Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus 2012-12-14 14:27:45 -08:00
driver_gige.c treewide: Remove unnecessary SSB_DEVTABLE_END macro 2015-02-11 14:38:29 -08:00
driver_gpio.c driver:gpio remove all usage of gpio_remove retval in driver 2014-09-18 11:03:10 -07:00
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 ssb: Convert ssb_printk to ssb_<level> 2013-03-06 16:24:23 -05:00
host_soc.c ssb: move functions specific to SoC hosted bus to separated file 2015-10-28 21:05:21 +02:00
Kconfig ssb: add Kconfig entry for compiling SoC related code 2015-10-28 21:05:21 +02:00
main.c ssb: mark ssb_bus_register as __maybe_unused 2018-02-25 11:03:44 +01:00
Makefile ssb: add Kconfig entry for compiling SoC related code 2015-10-28 21:05:21 +02:00
pci.c ssb: Fix error routine when fallback SPROM fails 2017-01-09 08:07:42 +01:00
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 ssb: Convert ssb_printk to ssb_<level> 2013-03-06 16:24:23 -05:00
sdio.c ssb: make ssb_sdio_switch_core static 2015-09-29 11:00:58 +03:00
sprom.c ssb: sprom: replace strict_strtoul() with kstrtoul() 2013-06-03 00:39:46 -07:00
ssb_private.h ssb: add Kconfig entry for compiling SoC related code 2015-10-28 21:05:21 +02:00