]> Gentwo Git Trees - linux/.git/commit
drm/ttm: replace drm_print.h include with a forward declaration
authorJani Nikula <jani.nikula@intel.com>
Wed, 29 Oct 2025 10:39:48 +0000 (12:39 +0200)
committerJani Nikula <jani.nikula@intel.com>
Fri, 31 Oct 2025 08:34:56 +0000 (10:34 +0200)
commitd7a849d126d0a75b2c5101f82d0c9693e04a43fd
treedbfbfa8d2c978be56dae961be76a93a9b4c4fa37
parentea722522d505fa8fb3533a386adeb400607e5072
drm/ttm: replace drm_print.h include with a forward declaration

The ttm/ttm_resource.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/cfdb1095033112c2a7e58767481c98929984a33c.1761734313.git.jani.nikula@intel.com
include/drm/ttm/ttm_resource.h