Thread (36 messages) 36 messages, 5 authors, 2024-11-23
STALE607d LANDED: 1 (0M)

[PATCH v2 28/28] backlight: lcd: Do not include <linux/fb.h> in lcd header

From: Thomas Zimmermann <tzimmermann@suse.de>
Date: 2024-09-06 07:55:02
Also in: dri-devel, linux-omap
Subsystem: the rest · Maintainer: Linus Torvalds

With the exception of fb_notifier_callback(), none of the lcd code
uses fbdev; especially not the lcd drivers. Remove the include
statement for <linux/fb.h> from the public lcd header.

v2:
- fix typos in commit description

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Daniel Thompson <redacted>
---
 include/linux/lcd.h | 1 -
 1 file changed, 1 deletion(-)
diff --git a/include/linux/lcd.h b/include/linux/lcd.h
index 59a80b396a71..c3ccdff4519a 100644
--- a/include/linux/lcd.h
+++ b/include/linux/lcd.h
@@ -12,7 +12,6 @@
 #include <linux/device.h>
 #include <linux/mutex.h>
 #include <linux/notifier.h>
-#include <linux/fb.h>
 
 #define LCD_POWER_ON			(0)
 #define LCD_POWER_REDUCED		(1) // deprecated; don't use in new code
-- 
2.46.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help