aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJani Nikula <[email protected]>2024-04-22 12:10:11 +0000
committerJani Nikula <[email protected]>2024-04-25 14:05:48 +0000
commit9e2b84fb6cd7ee913aa61d461db65c1d6a08dcf2 (patch)
tree75a5101ef256c759053d2a35ae411f094f6993a4
parentdrm/print: drop include debugfs.h and include where needed (diff)
downloadkernel-9e2b84fb6cd7ee913aa61d461db65c1d6a08dcf2.tar.gz
kernel-9e2b84fb6cd7ee913aa61d461db65c1d6a08dcf2.zip
drm/print: drop include seq_file.h
Never include where a forward declaration will suffice. Reviewed-by: Andrzej Hajda <[email protected]> Acked-by: Maxime Ripard <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Jani Nikula <[email protected]>
-rw-r--r--include/drm/drm_print.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_print.h b/include/drm/drm_print.h
index 561c3b96b6fd..089950ad8681 100644
--- a/include/drm/drm_print.h
+++ b/include/drm/drm_print.h
@@ -28,7 +28,6 @@
#include <linux/compiler.h>
#include <linux/printk.h>
-#include <linux/seq_file.h>
#include <linux/device.h>
#include <linux/dynamic_debug.h>
@@ -36,6 +35,7 @@
struct debugfs_regset32;
struct drm_device;
+struct seq_file;
/* Do *not* use outside of drm_print.[ch]! */
extern unsigned long __drm_debug;