mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 12:53:14 +01:00
drm/mm: replace drm_print.h include with a forward declaration
The drm_mm.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 <[email protected]> Reviewed-by: Thomas Zimmermann <[email protected]> Signed-off-by: Jani Nikula <[email protected]> Link: https://lore.kernel.org/r/7d570ed1f0f0f14cac346bea50bce9ef02ddd166.1761734313.git.jani.nikula@intel.com
This commit is contained in:
1 parent
9695c143b7
commit
ea722522d5
1 file changed
+1
-1
@@ -48,7 +48,7 @@
|
||||
#endif
|
||||
#include <linux/types.h>
|
||||
|
||||
#include <drm/drm_print.h>
|
||||
struct drm_printer;
|
||||
|
||||
#ifdef CONFIG_DRM_DEBUG_MM
|
||||
#define DRM_MM_BUG_ON(expr) BUG_ON(expr)
|
||||
|
||||
Reference in new issue
Block a user