diff options
author | Thomas Zimmermann <tzimmermann@suse.de> | 2024-02-19 10:37:32 +0100 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2024-02-28 09:59:30 +0100 |
commit | 7a46212f2a15cd8f041d2b4243ab64649c394260 (patch) | |
tree | bb603f80f62cb5cb5948d4c72e8f3d0b3f8d6f27 /include/linux/fb.h | |
parent | 0f115335cff5caa53738e0240d6f7f0b85c72e14 (diff) |
fbdev: Do not include <linux/slab.h> in header
Forward declare struct page 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-8-tzimmermann@suse.de
Diffstat (limited to 'include/linux/fb.h')
-rw-r--r-- | include/linux/fb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fb.h b/include/linux/fb.h index 90f348f14a49..42155898374b 100644 --- a/include/linux/fb.h +++ b/include/linux/fb.h @@ -11,7 +11,6 @@ #include <linux/init.h> #include <linux/workqueue.h> #include <linux/list.h> -#include <linux/slab.h> #include <asm/fb.h> @@ -22,6 +21,7 @@ struct device; struct file; struct inode; struct notifier_block; +struct page; struct videomode; struct device_node; |