aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/sancov_plugin.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2017-12-18 13:44:46 +0000
committerThierry Reding <[email protected]>2017-12-21 13:52:38 +0000
commit39f55c61da49ba41bba4185043cba6f39229467f (patch)
tree16c94e36c5490177b27676b46df759db3fa92eb5 /scripts/gcc-plugins/sancov_plugin.c
parentdrm/tegra: dpaux: Keep reset defaults for hybrid pad parameters (diff)
downloadkernel-39f55c61da49ba41bba4185043cba6f39229467f.tar.gz
kernel-39f55c61da49ba41bba4185043cba6f39229467f.zip
drm/tegra: Fix non-debugfs builds
The new debugfs registration fails to build when CONFIG_DEBUGFS is disabled, because the drm_crtc structure is lacking a member in that configuration: drivers/gpu/drm/tegra/dc.c: In function 'tegra_dc_late_register': drivers/gpu/drm/tegra/dc.c:1204:28: error: 'struct drm_crtc' has no member named 'debugfs_entry' Without CONFIG_DEBUGFS, the rest of the function already degrades into nothing, so we just avoid the one assignment. Fixes: b95800eeef09 ("drm/tegra: dc: Register debugfs in ->late_register()") 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