From: Thomas Zimmermann <tzimmermann@suse.de> Date: Mon, 19 Feb 2024 09:37:29 +0000 (+0100) Subject: fbdev: Do not include <linux/backlight.h> in header X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=11b4eedfc87de394ed8cc54dea87c745d37ff9dc;p=linux.git 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 --- diff --git a/include/linux/fb.h b/include/linux/fb.h index 2ce2f5c2fca9a..7380d959c5d53 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;