summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-09-18 15:51:38 +0200
committerInki Dae <inki.dae@samsung.com>2016-09-19 03:07:26 +0200
commit4158dbe1be9b420e1fdd9ec5c033647a605ca485 (patch)
tree202dd3df10dd8d66ef128b2eb0dcf12591709fa7 /drivers/bluetooth
parentdrm/exynos: g2d: fix system and runtime pm integration (diff)
downloadlinux-4158dbe1be9b420e1fdd9ec5c033647a605ca485.tar.xz
linux-4158dbe1be9b420e1fdd9ec5c033647a605ca485.zip
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>
Diffstat (limited to 'drivers/bluetooth')
0 files changed, 0 insertions, 0 deletions