fbdev: Do not include <linux/notifier.h> in header
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 19 Feb 2024 09:37:31 +0000 (10:37 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 28 Feb 2024 08:59:29 +0000 (09:59 +0100)
Forward declare struct notifier_block and remove the include
statement.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Acked-by: Helge Deller <deller@gmx.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20240219093941.3684-7-tzimmermann@suse.de
include/linux/fb.h

index f269ba520280958434d73e577db173434c6ed626..90f348f14a4906e87d2900e1069f607ebeeb0098 100644 (file)
@@ -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;