diff options
| author | Arnd Bergmann <[email protected]> | 2020-04-28 21:30:50 +0000 |
|---|---|---|
| committer | Joonas Lahtinen <[email protected]> | 2020-05-19 14:53:58 +0000 |
| commit | aa7b3df8fa0ed7ffbbf008466efb06259d0f59c1 (patch) | |
| tree | 2aaf98fe4909d4912418ed6766b67ddae7ae8fa0 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
| parent | drm/i915: Update DRIVER_DATE to 20200515 (diff) | |
| download | kernel-aa7b3df8fa0ed7ffbbf008466efb06259d0f59c1.tar.gz kernel-aa7b3df8fa0ed7ffbbf008466efb06259d0f59c1.zip | |
drm/i915: avoid unused scale_user_to_hw() warning
After the function is no longer marked 'inline', there
is now a new warning pointing out that the only caller
is inside of an #ifdef:
drivers/gpu/drm/i915/display/intel_panel.c:493:12: warning: 'scale_user_to_hw' defined but not used [-Wunused-function]
493 | static u32 scale_user_to_hw(struct intel_connector *connector,
| ^~~~~~~~~~~~~~~~
Move the function itself into that #ifdef as well.
Fixes: 81b55ef1f47b ("drm/i915: drop a bunch of superfluous inlines")
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 794bdcf71f47b98f6e003190069d5064123067ed)
Signed-off-by: Joonas Lahtinen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions
