aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_framebuffer.c
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2023-12-04 07:32:10 +0000
committerMaxime Ripard <[email protected]>2023-12-06 13:07:50 +0000
commit4b83b783ad778f7e69312fa61d1bee8e76e2156f (patch)
tree3953984c15ec479d9e7ce005c4da168b754e095e /drivers/gpu/drm/drm_framebuffer.c
parentdrm/imagination: Removed unused functions in pvr_fw_trace (diff)
downloadkernel-4b83b783ad778f7e69312fa61d1bee8e76e2156f.tar.gz
kernel-4b83b783ad778f7e69312fa61d1bee8e76e2156f.zip
drm/imagination: move update_logtype() into ifdef section
This function is only used when debugfs is enabled, and otherwise causes a build warning: drivers/gpu/drm/imagination/pvr_fw_trace.c:135:1: error: 'update_logtype' defined but not used [-Werror=unused-function] Move the #ifdef check to include this function as well. Fixes: cb56cd610866 ("drm/imagination: Add firmware trace to debugfs") Acked-by: Frank Binns <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Maxime Ripard <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/drm_framebuffer.c')
0 files changed, 0 insertions, 0 deletions