]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/buddy: replace drm_print.h include with a forward declaration
authorJani Nikula <jani.nikula@intel.com>
Wed, 29 Oct 2025 10:39:46 +0000 (12:39 +0200)
committerJani Nikula <jani.nikula@intel.com>
Fri, 31 Oct 2025 08:34:55 +0000 (10:34 +0200)
commit9695c143b72a7faa2dbbb2a5881269f82e6f9783
tree11953180ee21af5b54141ca10150ff417972087b
parentf6e8dc9edf963dbc99085e54f6ced6da9daa6100
drm/buddy: replace drm_print.h include with a forward declaration

The drm_buddy.h header does not really need anything from drm_print.h. A
simple forward declaration for struct drm_printer is sufficient.

An explicit drm_print.h include has previously been added to all the
files that indirectly depended on this include.

v3: Only remove the include here (Thomas)

Cc: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://lore.kernel.org/r/b303996b407fcbe2c7357bea036f79c45d6dae49.1761734313.git.jani.nikula@intel.com
include/drm/drm_buddy.h