android_kernel_samsung_univ.../drivers/ssb
Arnd Bergmann 8205dd3aa3 ssb: mark ssb_bus_register as __maybe_unused
commit b7e2d195cc523bd92ed7a64aac089421dbab2a2d 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
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
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_mipscore.c
driver_pcicore.c
embedded.c ssb: Convert ssb_printk to ssb_<level> 2013-03-06 16:24:23 -05:00
host_soc.c
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
pci.c
pcihost_wrapper.c SSB / B44: fix WOL for BCM4401 2014-12-04 11:32:46 -05:00
pcmcia.c
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_private.h ssb: add Kconfig entry for compiling SoC related code 2015-10-28 21:05:21 +02:00