diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-08-03 14:50:47 +0300 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2017-08-22 20:20:40 +0300 |
commit | d1f08d82176246c6d8a2f1dc26be3638ed4a6083 (patch) | |
tree | babc978c73f3bf014ecb4d6e3fa83dc015cb8651 /fs/nfs/nfs4client.c | |
parent | 6e05899dc80af26a21746485bb72e9410f03ad36 (diff) | |
download | linux-d1f08d82176246c6d8a2f1dc26be3638ed4a6083.tar.xz |
drm/msm/mdp5: mark runtime_pm functions as __maybe_unused
When CONFIG_PM is disabled, we get harmless warnings about unused
functions:
drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c:1025:12: error: 'mdp5_runtime_resume' defined but not used [-Werror=unused-function]
static int mdp5_runtime_resume(struct device *dev)
^~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c:1015:12: error: 'mdp5_runtime_suspend' defined but not used [-Werror=unused-function]
static int mdp5_runtime_suspend(struct device *dev)
^~~~~~~~~~~~~~~~~~~~
This marks both functions as __maybe_unused so the compiler
can drop them silently.
Fixes: d68fe15b1878 ("drm/msm/mdp5: Use runtime PM get/put API instead of toggling clocks")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'fs/nfs/nfs4client.c')
0 files changed, 0 insertions, 0 deletions