aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2022-03-16 18:36:47 +0000
committerThierry Reding <[email protected]>2022-04-06 13:33:57 +0000
commit42457494b8d6ef90e9c63e66bf2df7fa53406d6b (patch)
treede7ec236eab1a5a7748c150a76528ef1cbe9726c /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
parentgpu: host1x: Show all allocated syncpts via debugfs (diff)
downloadkernel-42457494b8d6ef90e9c63e66bf2df7fa53406d6b.tar.gz
kernel-42457494b8d6ef90e9c63e66bf2df7fa53406d6b.zip
drm/tegra: vic: Fix unused-function warnings
The use of the old-style SET_RUNTIME_PM_OPS() and SET_SYSTEM_SLEEP_PM_OPS() macros requires function definitions to be hidden to avoid drivers/gpu/drm/tegra/vic.c:326:12: error: 'vic_runtime_suspend' defined but not used [-Werror=unused-function] 326 | static int vic_runtime_suspend(struct device *dev) | ^~~~~~~~~~~~~~~~~~~ drivers/gpu/drm/tegra/vic.c:292:12: error: 'vic_runtime_resume' defined but not used [-Werror=unused-function] 292 | static int vic_runtime_resume(struct device *dev) | ^~~~~~~~~~~~~~~~~~ Use the new-style SYSTEM_SLEEP_PM_OPS() and RUNTIME_PM_OPS() instead. Fixes: 1e15f5b911d6 ("drm/tegra: vic: Stop channel on suspend") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h')
0 files changed, 0 insertions, 0 deletions