(subset) [PATCH] drm/imagination: move update_logtype() into ifdef section
Maxime Ripard
mripard at kernel.org
Wed Dec 6 13:10:17 UTC 2023
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
More information about the dri-devel
mailing list