Skip to content

Commit

Permalink
fbdev: Do not include <linux/backlight.h> in header
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Thomas Zimmermann committed Feb 28, 2024
1 parent 009c95c commit 11b4eed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/fb.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 11b4eed

Please sign in to comment.