summaryrefslogtreecommitdiff
path: root/include/linux/fb.h
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2024-02-19 10:37:29 +0100
committerThomas Zimmermann <tzimmermann@suse.de>2024-02-28 09:59:27 +0100
commit11b4eedfc87de394ed8cc54dea87c745d37ff9dc (patch)
treeea70267182110d750d458f20e6b42830b267970b /include/linux/fb.h
parent009c95c82e87a66cc494e9c14183892b17d04bfe (diff)
fbdev: Do not include <linux/backlight.h> in header
Forward declare struct backlight_device 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-5-tzimmermann@suse.de
Diffstat (limited to 'include/linux/fb.h')
-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 2ce2f5c2fca9..7380d959c5d5 100644
--- a/include/linux/fb.h
+++ b/include/linux/fb.h
@@ -13,11 +13,11 @@
#include <linux/workqueue.h>
#include <linux/notifier.h>
#include <linux/list.h>
-#include <linux/backlight.h>
#include <linux/slab.h>
#include <asm/fb.h>
+struct backlight_device;
struct vm_area_struct;
struct fb_info;
struct device;