Thread (12 messages) 12 messages, 3 authors, 2024-02-13
STALE852d
Revisions (2)
  1. v1 current
  2. v3 [diff vs current]

[PATCH 4/7] fbdev: Do not include <linux/notifier.h> in header

From: Thomas Zimmermann <tzimmermann@suse.de>
Date: 2024-02-12 10:17:33
Also in: dri-devel, nouveau
Subsystem: framebuffer layer, the rest · Maintainers: Helge Deller, Linus Torvalds

Forward declare struct notifier_block and remove the include
statement.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
---
 include/linux/fb.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/fb.h b/include/linux/fb.h
index f269ba5202809..90f348f14a490 100644
--- a/include/linux/fb.h
+++ b/include/linux/fb.h
@@ -10,7 +10,6 @@
 
 #include <linux/init.h>
 #include <linux/workqueue.h>
-#include <linux/notifier.h>
 #include <linux/list.h>
 #include <linux/slab.h>
 
@@ -22,6 +21,7 @@ struct fb_info;
 struct device;
 struct file;
 struct inode;
+struct notifier_block;
 struct videomode;
 struct device_node;
 
-- 
2.43.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help