aboutsummaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2018-12-20 19:13:07 +0100
committerBartlomiej Zolnierkiewicz <[email protected]>2018-12-20 19:13:07 +0100
commitb4a1ed0cd18b771e4279b4eb9cf39b565560eea6 (patch)
tree29acad0b518ea8aea3d468822eb3c94b81e28662 /include/uapi/linux
parentc143a559b073aeea688b9bb7c5b46f3cf322d569 (diff)
fbdev: make FB_BACKLIGHT a tristate
BACKLIGHT_CLASS_DEVICE is already tristate, but a dependency FB_BACKLIGHT prevents it from being built as a module. There doesn't seem to be any particularly good reason for this, so switch FB_BACKLIGHT over to tristate. Signed-off-by: Rob Clark <[email protected]> Tested-by: Arnd Bergmann <[email protected]> Cc: Simon Horman <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Cc: Laurent Pinchart <[email protected]> Cc: Daniel Vetter <[email protected]> Cc: Ulf Magnusson <[email protected]> Cc: Randy Dunlap <[email protected]> Cc: Hans de Goede <[email protected]> Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/fb.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/uapi/linux/fb.h b/include/uapi/linux/fb.h
index 6cd9b198b7c6..b6aac7ee1f67 100644
--- a/include/uapi/linux/fb.h
+++ b/include/uapi/linux/fb.h
@@ -393,11 +393,9 @@ struct fb_cursor {
struct fb_image image; /* Cursor image */
};
-#ifdef CONFIG_FB_BACKLIGHT
/* Settings for the generic backlight code */
#define FB_BACKLIGHT_LEVELS 128
#define FB_BACKLIGHT_MAX 0xFF
-#endif
#endif /* _UAPI_LINUX_FB_H */