# \[PATCH 07/13\] Make FB\_BACKLIGHT\_{LEVELS,MAX} always visible

- Subsystems: FRAMEBUFFER LAYER, THE REST
- Maintainers: Helge Deller, Linus Torvalds
- Status: REVIEWED · 2 reviews, 0 by maintainers (Andrew Waterman Albert Ou)
- Reviewed.
- 2 review trailers.
- List: linux-api
- 1 message, 1 author
- Page: https://ratatoskr.run/linux-api/2015/09/99413/t

## \[PATCH 07/13\] Make FB\_BACKLIGHT\_{LEVELS,MAX} always visible

- From: Palmer Dabbelt \<hidden\>
- Date: 2015-09-14 22:50:41 
- Message: https://ratatoskr.run/linux-api/2015/09/99413.md

```text
Nothing else in the kernel defines this, and this header is visible to
userspace.  Rather than hiding it in an #ifdef, I think it's sane to
just make this visible to userspace.

Signed-off-by: Palmer Dabbelt <redacted>
Reviewed-by: Andrew Waterman <redacted>
Reviewed-by: Albert Ou <redacted>
---
 include/uapi/linux/fb.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/include/uapi/linux/fb.h b/include/uapi/linux/fb.h
index fb795c3b3c17..8926f13bc19f 100644
--- a/include/uapi/linux/fb.h
+++ b/include/uapi/linux/fb.h
@@ -392,11 +392,8 @@ 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 */
-- 
2.4.6
```
