]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/hyperv: include drm_print.h where needed
authorJani Nikula <jani.nikula@intel.com>
Tue, 4 Nov 2025 10:02:53 +0000 (12:02 +0200)
committerJani Nikula <jani.nikula@intel.com>
Tue, 4 Nov 2025 12:37:15 +0000 (14:37 +0200)
hyperv_drm_drv.c and hyperv_drm_modeset.c depend on drm_print.h being
indirectly included via drm_buddy.h, drm_mm.h, or
ttm/ttm_resource.h. Include drm_print.h explicitly.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Closes: https://lore.kernel.org/r/20251104101158.1cc9abcd@canb.auug.org.au
Fixes: f6e8dc9edf96 ("drm: include drm_print.h where needed")
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patch.msgid.link/20251104100253.646577-1-jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/hyperv/hyperv_drm_drv.c
drivers/gpu/drm/hyperv/hyperv_drm_modeset.c

index 0d49f168a919d516db906a9e49b62a5d0ca3b3cb..06b5d96e6eaf6baaa723f460f0b87c47f97085c0 100644 (file)
@@ -14,6 +14,7 @@
 #include <drm/drm_drv.h>
 #include <drm/drm_fbdev_shmem.h>
 #include <drm/drm_gem_shmem_helper.h>
+#include <drm/drm_print.h>
 #include <drm/drm_simple_kms_helper.h>
 
 #include "hyperv_drm.h"
index 6e6eb1c12a6873fe64dc6d121bc786f0df5ed588..7978f8c8108c237290bc1d878c4ed0fef046a7ee 100644 (file)
@@ -19,6 +19,7 @@
 #include <drm/drm_probe_helper.h>
 #include <drm/drm_panic.h>
 #include <drm/drm_plane.h>
+#include <drm/drm_print.h>
 #include <drm/drm_vblank.h>
 #include <drm/drm_vblank_helper.h>