diff options
| author | YueHaibing <[email protected]> | 2022-03-05 12:32:00 +0000 |
|---|---|---|
| committer | Thierry Reding <[email protected]> | 2022-07-08 14:39:19 +0000 |
| commit | b5d5288a46876f6767950449aea310f71ac86277 (patch) | |
| tree | 0b69954810be55221744cb16a7a0fe79098c7207 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | gpu: host1x: Register context bus unconditionally (diff) | |
| download | kernel-b5d5288a46876f6767950449aea310f71ac86277.tar.gz kernel-b5d5288a46876f6767950449aea310f71ac86277.zip | |
drm/tegra: vic: Fix build warning when CONFIG_PM=n
drivers/gpu/drm/tegra/vic.c:326:12: error: ‘vic_runtime_suspend’ defined but not used [-Werror=unused-function]
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]
static int vic_runtime_resume(struct device *dev)
^~~~~~~~~~~~~~~~~~
Mark it as __maybe_unused.
Signed-off-by: YueHaibing <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
