Skip to content

Commit

Permalink
fbdev: Do not include <linux/notifier.h> in header
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Thomas Zimmermann committed Feb 28, 2024
1 parent 183c815 commit 0f11533
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/fb.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

#include <linux/init.h>
#include <linux/workqueue.h>
#include <linux/notifier.h>
#include <linux/list.h>
#include <linux/slab.h>

Expand All @@ -22,6 +21,7 @@ struct fb_info;
struct device;
struct file;
struct inode;
struct notifier_block;
struct videomode;
struct device_node;

Expand Down

0 comments on commit 0f11533

Please sign in to comment.