linux/drivers/slimbus
Arnd Bergmann 2e6ae11dd0 slimbus: ngd: mark PM functions as __maybe_unused
qcom_slim_ngd_runtime_suspend is protected by an #ifdef,
qcom_slim_ngd_runtime_idle is now, which causes a build time warning:

drivers/slimbus/qcom-ngd-ctrl.c:1470:12: error: 'qcom_slim_ngd_runtime_idle' defined but not used [-Werror=unused-function]

Marking both as __maybe_unused lets us get rid of the warning
as well as the #ifdef.

Fixes: 917809e228 ("slimbus: ngd: Add qcom SLIMBus NGD driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-09-14 15:36:20 +02:00
..
Kconfig slimbus: ngd: Add qcom SLIMBus NGD driver 2018-07-07 17:24:32 +02:00
Makefile slimbus: stream: add stream support 2018-07-07 17:25:23 +02:00
core.c slimbus: stream: add stream support 2018-07-07 17:25:23 +02:00
messaging.c slimbus: messaging: add slim_alloc/free_txn_tid() 2018-07-07 17:24:32 +02:00
qcom-ctrl.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
qcom-ngd-ctrl.c slimbus: ngd: mark PM functions as __maybe_unused 2018-09-14 15:36:20 +02:00
sched.c slimbus: Add support for 'clock-pause' feature 2017-12-19 11:01:03 +01:00
slimbus.h slimbus: stream: Fix htmldocs warnings 2018-07-08 15:19:04 +02:00
stream.c slimbus: stream: add stream support 2018-07-07 17:25:23 +02:00