Skip to content

Commit 74ba587

Browse files
committed
drm/hyperv: include drm_print.h where needed
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: f6e8dc9 ("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>
1 parent b63300a commit 74ba587

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/gpu/drm/hyperv/hyperv_drm_drv.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include <drm/drm_drv.h>
1515
#include <drm/drm_fbdev_shmem.h>
1616
#include <drm/drm_gem_shmem_helper.h>
17+
#include <drm/drm_print.h>
1718
#include <drm/drm_simple_kms_helper.h>
1819

1920
#include "hyperv_drm.h"

drivers/gpu/drm/hyperv/hyperv_drm_modeset.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include <drm/drm_probe_helper.h>
2020
#include <drm/drm_panic.h>
2121
#include <drm/drm_plane.h>
22+
#include <drm/drm_print.h>
2223
#include <drm/drm_vblank.h>
2324
#include <drm/drm_vblank_helper.h>
2425

0 commit comments

Comments
 (0)