diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-05-18 15:28:00 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-18 16:07:08 +0200 |
commit | 0687090acf0d0bee585fa0ec29cf5b1fd48cefee (patch) | |
tree | 3235c9506ebb55fe9e782ef4e212ffc0a385ac31 /drivers/staging/android | |
parent | df794cfbb9660f098412481be7d41bcb8e842cc9 (diff) | |
download | op-kernel-dev-0687090acf0d0bee585fa0ec29cf5b1fd48cefee.zip op-kernel-dev-0687090acf0d0bee585fa0ec29cf5b1fd48cefee.tar.gz |
staging: greybus: mark PM functions as __maybe_unused
Enabling the arche platform for compile testing showed a harmless
warning with CONFIG_PM=n:
drivers/staging/greybus/arche-platform.c:632:12: error: 'arche_platform_resume' defined but not used [-Werror=unused-function]
drivers/staging/greybus/arche-platform.c:618:12: error: 'arche_platform_suspend' defined but not used [-Werror=unused-function]
This marks the functions as __maybe_unused to shut up the warnings.
Fixes: 2eccd4aa19fc ("staging: greybus: enable compile testing of arche driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/android')
0 files changed, 0 insertions, 0 deletions