diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-11-27 16:10:28 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2017-11-27 17:27:15 +0100 |
commit | fd94d53e55bd487368dfee9f1af24da78b2bb582 (patch) | |
tree | fe762bad92b89c75945ae6a6d8eefef074be37f6 /drivers/gpu/drm/shmobile/shmob_drm_plane.h | |
parent | 2de2d0b063b08becb2c67a2c338c44e37bdcffee (diff) |
drm/i915: hide unused intel_panel_set_backlight function
Building i915 without backlight support results in a harmless warning
for intel_panel_set_backlight:
drivers/gpu/drm/i915/intel_panel.c:653:13: error: 'intel_panel_set_backlight' defined but not used [-Werror=unused-function]
This moves it into the CONFIG_BACKLIGHT_CLASS_DEVICE section that
its caller is in.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20171127151239.1813673-2-arnd@arndb.de
Diffstat (limited to 'drivers/gpu/drm/shmobile/shmob_drm_plane.h')
0 files changed, 0 insertions, 0 deletions