linux_dsm_epyc7002/drivers/gpu/drm/exynos
Arnd Bergmann 010848a73f drm: exynos: make PM functions as __maybe_unused
The newly added runtime-pm support for exynos-drm encloses the
pm functions in an #ifdef, but not the functions that are called
from them and nowhere else, which produces warnings:

drm/exynos/exynos_drm_dsi.c:733:13: warning: 'exynos_dsi_disable_clock' defined but not used [-Wunused-function]
 static void exynos_dsi_disable_clock(struct exynos_dsi *dsi)
             ^
drm/exynos/exynos_drm_dsi.c:1291:13: warning: 'exynos_dsi_disable_irq' defined but not used [-Wunused-function]
 static void exynos_dsi_disable_irq(struct exynos_dsi *dsi)
             ^

This removes the #ifdef and instead marks the functions as
__maybe_unused, so gcc can silently discard them and all called
functions when CONFIG_PM is disabled.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
2016-02-01 13:09:38 +09:00
..
exynos7_drm_decon.c drm/exynos: crtc: rework atomic_{begin,flush} 2016-01-13 00:16:37 +09:00
exynos5433_drm_decon.c drm/exynos: crtc: rework atomic_{begin,flush} 2016-01-13 00:16:37 +09:00
exynos_dp_core.c drm/exynos: Constify function pointer structs 2015-12-15 13:44:56 +01:00
exynos_dp_core.h drm/exynos: do not start enabling DP at bind() phase 2015-12-13 22:22:43 +09:00
exynos_dp_reg.c drm/exynos: Fix checkpatch warning in exynos_dp_reg.c 2014-06-02 02:07:12 +09:00
exynos_dp_reg.h drm/exynos: Move dp driver from video/ to drm/ 2014-03-24 00:36:34 +09:00
exynos_drm_core.c drm/exynos: Remove useless EXPORT_SYMBOL_GPLs 2015-09-30 16:39:41 +09:00
exynos_drm_crtc.c drm/exynos: fix kernel panic issue at drm releasing 2016-01-13 00:16:39 +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: Constify function pointer structs 2015-12-15 13:44:56 +01:00
exynos_drm_drv.c drm/exynos: fix kernel panic issue at drm releasing 2016-01-13 00:16:39 +09:00
exynos_drm_drv.h drm/exynos: crtc: rework atomic_{begin,flush} 2016-01-13 00:16:37 +09:00
exynos_drm_dsi.c drm: exynos: make PM functions as __maybe_unused 2016-02-01 13:09:38 +09:00
exynos_drm_fb.c drm/exynos: crtc: do not wait for the scanout completion 2016-01-13 00:16:38 +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 drm/exynos: cleanup name of gem object for exynos_drm 2015-10-26 15:10:34 +09:00
exynos_drm_fbdev.h drm/exynos: change file license to GPL 2013-01-04 15:54:32 +09:00
exynos_drm_fimc.c drm/exynos: fix spelling errors 2015-10-26 15:10:17 +09:00
exynos_drm_fimc.h drm/exynos: change file license to GPL 2013-01-04 15:54:32 +09:00
exynos_drm_fimd.c drm/exynos: crtc: rework atomic_{begin,flush} 2016-01-13 00:16:37 +09:00
exynos_drm_g2d.c drm/exynos: Remove useless EXPORT_SYMBOL_GPLs 2015-09-30 16:39:41 +09:00
exynos_drm_g2d.h drm/exynos: add G2D driver 2012-05-17 20:14:48 +09:00
exynos_drm_gem.c mm, dax, gpu: convert vm_insert_mixed to pfn_t 2016-01-15 17:56:32 -08:00
exynos_drm_gem.h drm/exynos: gem: remove old unused prototypes 2015-12-13 22:22:59 +09:00
exynos_drm_gsc.c drm/exynos: gsc: add device tree support and remove usage of static mappings 2015-12-13 22:22:53 +09:00
exynos_drm_gsc.h drm/exynos: change file license to GPL 2013-01-04 15:54:32 +09:00
exynos_drm_iommu.c drm/exynos: fix to detach device of iommu 2015-10-26 15:10:30 +09:00
exynos_drm_iommu.h drm/exynos: remove drm_iommu_attach_device_if_possible 2015-08-16 10:23:33 +09:00
exynos_drm_ipp.c drm/exynos: remove unnecessary checking to support iommu 2015-08-16 10:23:32 +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: Constify function pointer structs 2015-12-15 13:44:56 +01:00
exynos_drm_plane.c drm/exynos: make zpos property configurable 2016-01-13 00:16:34 +09: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: convert to common clock framework 2015-12-13 22:22:53 +09:00
exynos_drm_rotator.h drm/exynos: change file license to GPL 2013-01-04 15:54:32 +09:00
exynos_drm_vidi.c drm/exynos: rename zpos to index 2016-01-13 00:16:33 +09:00
exynos_drm_vidi.h drm/exynos: change file license to GPL 2013-01-04 15:54:32 +09:00
exynos_hdmi.c drm/exynos: Constify function pointer structs 2015-12-15 13:44:56 +01:00
exynos_mixer.c drm/exynos: fix building without CONFIG_PM_SLEEP 2016-02-01 13:09:36 +09:00
Kconfig drm/exynos: gsc: add device tree support and remove usage of static mappings 2015-12-13 22:22:53 +09:00
Makefile drm/exynos: separate Mixer and HDMI drivers 2015-11-03 11:46:38 +09:00
regs-fimc.h drm/exynos: add device tree support for fimc ipp driver 2013-04-29 14:35:32 +09:00
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: improve HDMI/ACR related code 2015-10-26 15:10:04 +09:00
regs-mixer.h drm/exynos: mixer: refactor layer setup 2016-01-13 00:16:36 +09:00
regs-rotator.h drm/exynos: add rotator ipp driver 2012-12-15 02:39:41 +09:00
regs-vp.h drm/exynos: added hdmi display support 2011-12-29 11:21:42 +09:00