WSL2-Linux-Kernel/drivers/gpu/drm/tegra
YueHaibing f3450c3341 drm/tegra: vic: Fix build warning when CONFIG_PM=n
[ Upstream commit b5d5288a46 ]

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 <yuehaibing@huawei.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Stable-dep-of: c7860cbee9 ("drm/tegra: Fix vmapping of prime buffers")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-09-23 14:15:46 +02:00
..
Kconfig drm/tegra: dc: Support memory bandwidth management 2021-08-13 12:30:33 +02:00
Makefile drm/tegra: Add job firewall 2021-08-10 17:04:05 +02:00
dc.c drm/tegra: dc: Remove unused variables 2021-09-16 18:06:50 +02:00
dc.h drm/tegra: dc: Remove unused variables 2021-09-16 18:06:50 +02:00
dp.c
dp.h
dpaux.c
dpaux.h
drm.c drm/tegra: Add back arm_iommu_detach_device() 2022-01-27 11:02:59 +01:00
drm.h drm/tegra: Implement new UAPI 2021-08-10 17:04:05 +02:00
dsi.c drm/tegra: Fix reference leak in tegra_dsi_ganged_probe 2022-04-08 14:23:35 +02:00
dsi.h
falcon.c
falcon.h
fb.c
firewall.c drm/tegra: Add job firewall 2021-08-10 17:04:05 +02:00
gem.c drm/tegra: Extract tegra_gem_lookup() 2021-08-10 14:44:31 +02:00
gem.h drm/tegra: Extract tegra_gem_lookup() 2021-08-10 14:44:31 +02:00
gr2d.c drm/tegra: gr2d: Explicitly control module reset 2022-01-27 11:03:39 +01:00
gr2d.h
gr3d.c
gr3d.h
hda.c
hda.h
hdmi.c
hdmi.h
hub.c
hub.h
mipi-phy.c
mipi-phy.h
output.c
plane.c drm/tegra: dc: Support memory bandwidth management 2021-08-13 12:30:33 +02:00
plane.h drm/tegra: dc: Support memory bandwidth management 2021-08-13 12:30:33 +02:00
rgb.c
sor.c
sor.h
submit.c drm/tegra: submit: Add missing pm_runtime_mark_last_busy() 2022-01-27 11:05:11 +01:00
submit.h drm/tegra: Add job firewall 2021-08-10 17:04:05 +02:00
trace.c
trace.h
uapi.c drm/tegra: uapi: Fix wrong mapping end address in case of disabled IOMMU 2021-09-16 18:06:51 +02:00
uapi.h drm/tegra: Implement syncpoint wait UAPI 2021-08-10 17:04:05 +02:00
vic.c drm/tegra: vic: Fix build warning when CONFIG_PM=n 2022-09-23 14:15:46 +02:00
vic.h