Home
last modified time | relevance | path

Searched hist:"4 b83b783ad778f7e69312fa61d1bee8e76e2156f" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/gpu/drm/imagination/
H A Dpvr_fw_trace.cdiff 4b83b783ad778f7e69312fa61d1bee8e76e2156f Mon Dec 04 08:32:10 CET 2023 Arnd Bergmann <arnd@arndb.de> 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 <frank.binns@imgtec.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20231204073231.1164163-1-arnd@kernel.org
Signed-off-by: Maxime Ripard <mripard@kernel.org>