OpenCloudOS-Kernel/drivers/video/fbdev/exynos
Arnd Bergmann b54729b6ce fbdev: s6e8ax0: avoid unused function warnings
The s6e8ax0 suspend/resume functions are hidden inside of an #ifdef
when CONFIG_PM is set to avoid unused function warnings, but they
call some other functions that nothing else calls, and we get warnings
about those:

drivers/video/fbdev/exynos/s6e8ax0.c:449:13: error: 's6e8ax0_sleep_in' defined but not used [-Werror=unused-function]
drivers/video/fbdev/exynos/s6e8ax0.c:485:13: error: 's6e8ax0_display_off' defined but not used [-Werror=unused-function]

This marks the PM functions as __maybe_unused so the compiler can
silently drop them when they are not referenced.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2016-01-29 13:36:20 +02:00
..
Kconfig
Makefile
exynos_mipi_dsi.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
exynos_mipi_dsi_common.c treewide: Fix company name in module descriptions 2014-10-29 14:36:36 +01:00
exynos_mipi_dsi_common.h
exynos_mipi_dsi_lowlevel.c
exynos_mipi_dsi_lowlevel.h
exynos_mipi_dsi_regs.h
s6e8ax0.c fbdev: s6e8ax0: avoid unused function warnings 2016-01-29 13:36:20 +02:00