]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
fbdev: Do not include <linux/fs.h> in header
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 19 Feb 2024 09:37:30 +0000 (10:37 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 28 Feb 2024 08:59:28 +0000 (09:59 +0100)
Forward declare struct inode 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-6-tzimmermann@suse.de
include/linux/fb.h

index 7380d959c5d53b174e9b2351ffad49dd435e0e0c..f269ba520280958434d73e577db173434c6ed626 100644 (file)
@@ -8,7 +8,6 @@
 
 #define FBIO_CURSOR            _IOWR('F', 0x08, struct fb_cursor_user)
 
-#include <linux/fs.h>
 #include <linux/init.h>
 #include <linux/workqueue.h>
 #include <linux/notifier.h>
@@ -22,6 +21,7 @@ struct vm_area_struct;
 struct fb_info;
 struct device;
 struct file;
+struct inode;
 struct videomode;
 struct device_node;