mirror of
https://github.com/torvalds/linux.git
synced 2024-11-16 17:12:06 +00:00
b7e2d195cc
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:
|
||
---|---|---|
.. | ||
b43_pci_bridge.c | ||
bridge_pcmcia_80211.c | ||
driver_chipcommon_pmu.c | ||
driver_chipcommon_sflash.c | ||
driver_chipcommon.c | ||
driver_extif.c | ||
driver_gige.c | ||
driver_gpio.c | ||
driver_mipscore.c | ||
driver_pcicore.c | ||
embedded.c | ||
host_soc.c | ||
Kconfig | ||
main.c | ||
Makefile | ||
pci.c | ||
pcihost_wrapper.c | ||
pcmcia.c | ||
scan.c | ||
sdio.c | ||
sprom.c | ||
ssb_private.h |