summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2024-02-19 10:37:30 +0100
committerThomas Zimmermann <tzimmermann@suse.de>2024-02-28 09:59:28 +0100
commit183c81569ddef5b7cc9b0403a9bdf9090e54c4f2 (patch)
treeb61fd5ac61cc74080d6280df6220d00a265171c0 /include
parent11b4eedfc87de394ed8cc54dea87c745d37ff9dc (diff)
fbdev: Do not include <linux/fs.h> in header
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
Diffstat (limited to 'include')
-rw-r--r--include/linux/fb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fb.h b/include/linux/fb.h
index 7380d959c5d5..f269ba520280 100644
--- a/include/linux/fb.h
+++ b/include/linux/fb.h
@@ -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;