From: Maxime Ripard Date: Thu, 22 Feb 2024 18:13:47 +0000 (+0100) Subject: drm/tests: helpers: Include missing drm_drv header X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=73984daf07a1a89ace8f0db6dd2d640654ebbbee;p=linux.git drm/tests: helpers: Include missing drm_drv header We have a few functions declared in our kunit helpers header, some of them dereferencing the struct drm_driver. However, we don't include the drm_drv.h header file defining that structure, leading to compilation errors if we don't include both headers. Fixes: d98780310719 ("drm/tests: helpers: Allow to pass a custom drm_driver") Reviewed-by: MaĆ­ra Canal Signed-off-by: Maxime Ripard Link: https://patchwork.freedesktop.org/patch/msgid/20240222-kms-hdmi-connector-state-v7-1-8f4af575fce2@kernel.org --- diff --git a/include/drm/drm_kunit_helpers.h b/include/drm/drm_kunit_helpers.h index ba483c87f0e7b..3ae19892229db 100644 --- a/include/drm/drm_kunit_helpers.h +++ b/include/drm/drm_kunit_helpers.h @@ -3,6 +3,8 @@ #ifndef DRM_KUNIT_HELPERS_H_ #define DRM_KUNIT_HELPERS_H_ +#include + #include #include