summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/exynos/exynos_drm_dsi.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2015-11-17 16:08:36 +0100
committerInki Dae <inki.dae@samsung.com>2016-02-01 13:09:36 +0900
commite0fea7e7b63108b31c043df0d5754bbd666d05c6 (patch)
tree325f85a79baef6d92688cc35643ca259a8053d42 /drivers/gpu/drm/exynos/exynos_drm_dsi.c
parentd8b8eb829d4c30cd1e41a1ddc308a0e7c22169da (diff)
downloadlinux-e0fea7e7b63108b31c043df0d5754bbd666d05c6.tar.bz2
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 'drivers/gpu/drm/exynos/exynos_drm_dsi.c')
0 files changed, 0 insertions, 0 deletions