projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33d5ae6
)
drm/print: drop include seq_file.h
author
Jani Nikula
<jani.nikula@intel.com>
Mon, 22 Apr 2024 12:10:11 +0000
(15:10 +0300)
committer
Jani Nikula
<jani.nikula@intel.com>
Thu, 25 Apr 2024 14:05:48 +0000
(17:05 +0300)
Never include where a forward declaration will suffice.
Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com>
Acked-by: Maxime Ripard <mripard@kernel.org>
Link:
https://patchwork.freedesktop.org/patch/msgid/20240410141434.157908-2-jani.nikula@intel.com
Link:
https://patchwork.freedesktop.org/patch/msgid/20240422121011.4133236-2-jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
include/drm/drm_print.h
patch
|
blob
|
history
diff --git
a/include/drm/drm_print.h
b/include/drm/drm_print.h
index 561c3b96b6fd92d913c9bba9055b80c4e8f03cc7..089950ad8681a543c34746c6986cd1d75d38c408 100644
(file)
--- 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;