aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Zimmermann <[email protected]>2025-03-21 09:54:04 +0000
committerLee Jones <[email protected]>2025-04-10 09:39:14 +0000
commitd32a0b567a8a8b6e677d35c4f8eb8bd32b7029a0 (patch)
treedce50b3608353c455a8a669c784f08e878d01de3
parentleds: backlight trigger: Replace fb events with a dedicated function call (diff)
downloadkernel-d32a0b567a8a8b6e677d35c4f8eb8bd32b7029a0.tar.gz
kernel-d32a0b567a8a8b6e677d35c4f8eb8bd32b7029a0.zip
fbdev: Remove constants of unused events
The constants FB_EVENT_MODE_CHANGE and FB_EVENT_BLANK are unused. Remove them from the header file. Signed-off-by: Thomas Zimmermann <[email protected]> Acked-by: Simona Vetter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
-rw-r--r--include/linux/fb.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/fb.h b/include/linux/fb.h
index 835e13d6eba8..05cc251035da 100644
--- a/include/linux/fb.h
+++ b/include/linux/fb.h
@@ -129,18 +129,12 @@ struct fb_cursor_user {
* Register/unregister for framebuffer events
*/
-/* The resolution of the passed in fb_info about to change */
-#define FB_EVENT_MODE_CHANGE 0x01
-
#ifdef CONFIG_GUMSTIX_AM200EPD
/* only used by mach-pxa/am200epd.c */
#define FB_EVENT_FB_REGISTERED 0x05
#define FB_EVENT_FB_UNREGISTERED 0x06
#endif
-/* A display blank is requested */
-#define FB_EVENT_BLANK 0x09
-
struct fb_event {
struct fb_info *info;
void *data;