Skip to contentSkip to conversation

backlight: Do not include <linux/fb.h> in header file

PATCH Applied Thomas Zimmermann 2 participants 2 messages Oct 13, 2025 – Oct 23, 2025 Backlight class/subsystem

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 backlight: Do not include <linux/fb.h> in header file

The backlight interfaces don't require anything from <linux/fb.h>, so don't include it.

---
This patch got dropped from a previous series, [1] as it depended on changes in other trees. With v6.18-rc1 out, this should no longer be a problem.

[1] https://patchwork.freedesktop.org/series/150454/

---
 include/linux/backlight.h | 1 -
 1 file changed, 1 deletion(-)
include/linux/backlight.h +0 -1
index 10e626db7eee..f29a9ef1052e 100644
@@ -10,7 +10,6 @@
 #define _LINUX_BACKLIGHT_H
 
 #include <linux/device.h>
-#include <linux/fb.h>
 #include <linux/mutex.h>
 #include <linux/types.h>
 
Signature · 1 line
2.51.0
maintainer Applied
#1 lore raw

Re: (subset) [PATCH] backlight: Do not include <linux/fb.h> in header file

Quoted 4 lines · Thomas Zimmermann

The backlight interfaces don't require anything from <linux/fb.h>, so don't include it.

Applied, thanks!

[1/1] backlight: Do not include <linux/fb.h> in header file

      commit: 243ce64b2b371cdf2cbc39c9422cb3047cab6de7

--
Lee Jones [李琼斯]