diff options
author | Arnd Bergmann <[email protected]> | 2017-11-27 16:10:27 +0100 |
---|---|---|
committer | Joonas Lahtinen <[email protected]> | 2017-11-28 10:31:59 +0200 |
commit | ac29fc66855b79c2960c63a4a66952d5b721d698 (patch) | |
tree | 322ccca7a68326cfd322a1179b7926061cc0fc15 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a45b30a6c5db631e2ba680304bd5edd0cd1f9643 (diff) |
drm/i915: fix intel_backlight_device_register declaration
The alternative intel_backlight_device_register() definition apparently
never got used, but I have now run into a case of i915 being compiled
without CONFIG_BACKLIGHT_CLASS_DEVICE, resulting in a number of
identical warnings:
drivers/gpu/drm/i915/intel_drv.h:1739:12: error: 'intel_backlight_device_register' defined but not used [-Werror=unused-function]
This marks the function as 'inline', which was surely the original
intention here.
Fixes: 1ebaa0b9c2d4 ("drm/i915: Move backlight registration to connector registration")
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 2de2d0b063b08becb2c67a2c338c44e37bdcffee)
Signed-off-by: Joonas Lahtinen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions