From: Sam Ravnborg <sam@xxxxxxxxxxxx> 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 <sam@xxxxxxxxxxxx> --- 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 c3753da97c4e..30673ee10190 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 <linux/compiler.h> -#include <linux/printk.h> -#include <linux/seq_file.h> +#include <linux/dev_printk.h> #include <linux/device.h> -#include <linux/debugfs.h> -#include <linux/dynamic_debug.h> +#include <linux/printk.h> -#include <drm/drm.h> +struct debugfs_regset32; +struct seq_file; +struct device; /* Do *not* use outside of drm_print.[ch]! */ extern unsigned long __drm_debug; -- 2.34.1