diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-11-17 16:08:36 +0100 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2016-02-01 13:09:36 +0900 |
commit | e0fea7e7b63108b31c043df0d5754bbd666d05c6 (patch) | |
tree | 325f85a79baef6d92688cc35643ca259a8053d42 /kernel/trace/trace_functions_graph.c | |
parent | d8b8eb829d4c30cd1e41a1ddc308a0e7c22169da (diff) |
drm/exynos: fix building without CONFIG_PM_SLEEP
The runtime PM operations use the suspend/resume functions
even when CONFIG_PM_SLEEP is not set, but this now fails
for the exynos DRM driver:
exynos_mixer.c:1289:61: error: 'exynos_mixer_resume' undeclared here (not in a function)
SET_RUNTIME_PM_OPS(exynos_mixer_suspend, exynos_mixer_resume, NULL)
This removes the #ifdef and instead marks the functions as
__maybe_unused, which does the right thing in all cases and
also looks nicer.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
0 files changed, 0 insertions, 0 deletions