aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2017-12-15 12:51:52 +0000
committerThierry Reding <[email protected]>2017-12-21 13:52:37 +0000
commit013e2b722aa9b18649dbae8422ced270c793f9d4 (patch)
tree9973fee87adb0a00d2e175ac0702c5fe0e80eeb0 /scripts/gcc-plugins/sancov_plugin.c
parentdrm/tegra: Use IOMMU groups (diff)
downloadkernel-013e2b722aa9b18649dbae8422ced270c793f9d4.tar.gz
kernel-013e2b722aa9b18649dbae8422ced270c793f9d4.zip
drm/tegra: Mark Tegra186 display hub PM functions __maybe_unused
The newly introduced driver has optional suspend/resume functions, causing a warning when CONFIG_PM is disabled: drivers/gpu/drm/tegra/hub.c:749:12: error: 'tegra_display_hub_resume' defined but not used [-Werror=unused-function] drivers/gpu/drm/tegra/hub.c:733:12: error: 'tegra_display_hub_suspend' defined but not used [-Werror=unused-function] This marks them __maybe_unused to shut up the warnings. Fixes: c4755fb9064f ("drm/tegra: Add Tegra186 display hub support") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions