diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-01-25 16:04:03 +0100 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-01-29 13:36:20 +0200 |
commit | b54729b6cea7d1f46b1ed70cb7065c6bdefaa780 (patch) | |
tree | b79300a70721e0c62824591148bd7d494907f6ee /drivers/video/fbdev/da8xx-fb.c | |
parent | 87df1b2a2103b9019433da99be43a472c16647ab (diff) | |
download | linux-stable-b54729b6cea7d1f46b1ed70cb7065c6bdefaa780.tar.gz linux-stable-b54729b6cea7d1f46b1ed70cb7065c6bdefaa780.tar.bz2 linux-stable-b54729b6cea7d1f46b1ed70cb7065c6bdefaa780.zip |
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>
Diffstat (limited to 'drivers/video/fbdev/da8xx-fb.c')
0 files changed, 0 insertions, 0 deletions