linux-stable/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 drm/exynos: remove superfluous inclusions of fbdev header 2016-06-19 14:37:28 +09:00
exynos5433_drm_decon.c drm/exynos/decon5433: fix trigger configuration 2016-05-10 23:11:46 +09:00
exynos_dp.c drm/bridge: analogix_dp: passing the connector as an argument in .get_modes() 2016-07-05 21:53:38 +08:00
exynos_drm_core.c drm/exynos: remove superfluous inclusions of fbdev header 2016-06-19 14:37:28 +09:00
exynos_drm_crtc.c drm/exynos: fix cancel page flip code 2016-05-10 23:11:41 +09:00
exynos_drm_crtc.h drm/exynos: fix kernel panic issue at drm releasing 2016-01-13 00:16:39 +09:00
exynos_drm_dpi.c drm: exynos: Rely on the default ->best_encoder() behavior 2016-06-10 17:22:15 +02:00
exynos_drm_drv.c drm/exynos: iommu: add support for ARM64 specific code for IOMMU glue 2016-07-13 23:06:07 +09:00
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 drm: exynos: Rely on the default ->best_encoder() behavior 2016-06-10 17:22:15 +02:00
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 Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2016-01-17 13:40:25 -08:00
exynos_drm_fbdev.c dma-mapping: use unsigned long for dma_attrs 2016-08-04 08:50:07 -04:00
exynos_drm_fbdev.h drm/exynos: build fbdev code conditionally 2016-04-30 01:03:45 +09:00
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 drm/exynos: remove superfluous inclusions of fbdev header 2016-06-19 14:37:28 +09:00
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 drm/exynos: iommu: move ARM specific code to exynos_drm_iommu.h 2016-07-13 23:06:06 +09:00
exynos_drm_iommu.h drm/exynos: iommu: add support for ARM64 specific code for IOMMU glue 2016-07-13 23:06:07 +09:00
exynos_drm_ipp.c drm/exynos: ipp: fix incorrect format specifiers in debug messages 2016-03-01 23:37:08 +09:00
exynos_drm_ipp.h drm/exynos/ipp: remove unused field in command node 2014-09-20 00:56:10 +09:00
exynos_drm_mic.c drm/exynos: fix a warning message 2016-04-30 01:03:46 +09:00
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 drm/exynos: rename zpos to index 2016-01-13 00:16:33 +09:00
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 drm: exynos: Rely on the default ->best_encoder() behavior 2016-06-10 17:22:15 +02:00
exynos_drm_vidi.h
exynos_hdmi.c gpu: drm: exynos_hdmi: add missing of_node_put after calling of_parse_phandle 2016-07-15 08:47:01 -04:00
exynos_mixer.c drm/exynos: use generic code for managing zpos plane property 2016-07-29 10:02:58 +02:00
Kconfig Merge branch 'exynos-drm-next' of git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos into drm-next 2016-07-15 14:05:41 +10:00
Makefile drm/exynos: build fbdev code conditionally 2016-04-30 01:03:45 +09:00
regs-fimc.h
regs-gsc.h drm/exynos: gsc: add device tree support and remove usage of static mappings 2015-12-13 22:22:53 +09:00
regs-hdmi.h drm/exynos/hdmi: add Exynos5433 support 2016-04-30 01:03:54 +09:00
regs-mixer.h drm/exynos: mixer: refactor layer setup 2016-01-13 00:16:36 +09:00
regs-rotator.h
regs-vp.h