From 530d852970d1a75527031a4f23689f89f0a85804 Mon Sep 17 00:00:00 2001 From: Sam Ravnborg Date: Sat, 21 Jan 2023 21:07:54 +0100 Subject: [PATCH] drm/drm_print: Minimize include footprint Reduce drm_print.h to include or forward the minimal set of files/symbols - to minimize the impact of the files that includes this header file. Signed-off-by: Sam Ravnborg --- include/drm/drm_print.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/include/drm/drm_print.h b/include/drm/drm_print.h index c3753da97c4ece..30673ee10190a3 100644 --- a/include/drm/drm_print.h +++ b/include/drm/drm_print.h @@ -26,14 +26,13 @@ #ifndef DRM_PRINT_H_ #define DRM_PRINT_H_ -#include -#include -#include +#include #include -#include -#include +#include -#include +struct debugfs_regset32; +struct seq_file; +struct device; /* Do *not* use outside of drm_print.[ch]! */ extern unsigned long __drm_debug;