linux_dsm_epyc7002/drivers/gpu/drm/exynos
Arnd Bergmann 4158dbe1be Subject: [PATCH, RESEND] drm: exynos: avoid unused function warning
When CONFIG_PM is not set, we get a warning about an unused function:

drivers/gpu/drm/exynos/exynos_drm_gsc.c:1219:12: error: 'gsc_clk_ctrl' defined but not used [-Werror=unused-function]
 static int gsc_clk_ctrl(struct gsc_context *ctx, bool enable)
            ^~~~~~~~~~~~

This removes the two #ifdef checks in this file and instead marks the
functions as __maybe_unused, which is a more reliable way of doing the
same, allowing better build coverage and avoiding the warning above.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2016-09-19 10:07:26 +09:00
..
exynos7_drm_decon.c
exynos5433_drm_decon.c
exynos_dp.c
exynos_drm_core.c
exynos_drm_crtc.c
exynos_drm_crtc.h
exynos_drm_dpi.c
exynos_drm_drv.c
exynos_drm_drv.h drm/exynos: use generic code for managing zpos plane property 2016-07-29 10:02:58 +02:00
exynos_drm_dsi.c
exynos_drm_fb.c exynos-drm: Fix unsupported GEM memory type error message to be clear 2016-09-18 22:20:36 +09:00
exynos_drm_fb.h
exynos_drm_fbdev.c dma-mapping: use unsigned long for dma_attrs 2016-08-04 08:50:07 -04:00
exynos_drm_fbdev.h
exynos_drm_fimc.c drm/exynos: fimc: fix system and runtime pm integration 2016-09-18 22:20:37 +09:00
exynos_drm_fimc.h
exynos_drm_fimd.c
exynos_drm_g2d.c drm/exynos: g2d: fix system and runtime pm integration 2016-09-18 22:20:39 +09:00
exynos_drm_g2d.h
exynos_drm_gem.c dma-mapping: use unsigned long for dma_attrs 2016-08-04 08:50:07 -04:00
exynos_drm_gem.h dma-mapping: use unsigned long for dma_attrs 2016-08-04 08:50:07 -04:00
exynos_drm_gsc.c Subject: [PATCH, RESEND] drm: exynos: avoid unused function warning 2016-09-19 10:07:26 +09:00
exynos_drm_gsc.h
exynos_drm_iommu.c
exynos_drm_iommu.h
exynos_drm_ipp.c
exynos_drm_ipp.h
exynos_drm_mic.c
exynos_drm_plane.c drm/exynos: use generic code for managing zpos plane property 2016-07-29 10:02:58 +02:00
exynos_drm_plane.h
exynos_drm_rotator.c drm/exynos: rotator: fix system and runtime pm integration 2016-09-18 22:20:38 +09:00
exynos_drm_rotator.h
exynos_drm_vidi.c
exynos_drm_vidi.h
exynos_hdmi.c
exynos_mixer.c drm/exynos: use generic code for managing zpos plane property 2016-07-29 10:02:58 +02:00
Kconfig
Makefile
regs-fimc.h
regs-gsc.h
regs-hdmi.h
regs-mixer.h
regs-rotator.h
regs-vp.h