diff mbox series

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

Message ID 20240820093452.68270-29-tzimmermann@suse.de (mailing list archive)
State New
Headers show
Series backlight: lcd: Remove fbdev dependencies | expand

Commit Message

Thomas Zimmermann Aug. 20, 2024, 9:23 a.m. UTC
With the excpetion of fb_notifier_callback(), none of the lcd code
uses fbdev; especially the lcd drivers. Remove the include statement
for <linux/fb.h> from the public lcd header.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
---
 include/linux/lcd.h | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

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