Re: (subset) [PATCH] drm/imagination: move update_logtype() into ifdef section

From: Maxime Ripard
Date: Wed Dec 06 2023 - 08:10:25 EST


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