On Mon, 04 Dec 2023 08:32:10 +0100, Arnd Bergmann wrote: > 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. > > [...] Applied to drm/drm-misc (drm-misc-next). Thanks! Maxime