aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2024-02-19 10:37:30 +0100
committerThomas Zimmermann <[email protected]>2024-02-28 09:59:28 +0100
commit183c81569ddef5b7cc9b0403a9bdf9090e54c4f2 (patch)
treeb61fd5ac61cc74080d6280df6220d00a265171c0
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 <[email protected]> Reviewed-by: Jani Nikula <[email protected]> Acked-by: Helge Deller <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
-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;