Commit 7a46212f authored by Thomas Zimmermann's avatar Thomas Zimmermann
Browse files

fbdev: Do not include <linux/slab.h> in header



Forward declare struct page and remove the include statement.

Signed-off-by: default avatarThomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
Acked-by: default avatarHelge Deller <deller@gmx.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20240219093941.3684-8-tzimmermann@suse.de
parent 0f115335
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;