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.
Showing the changes to include/uapi/linux (1 of 4 files). Show all
Unified · Split
| @@ -393,11 +393,9 @@ struct fb_cursor { · 392 unmodified lines | ||
| 393 | 393 | struct fb_image image; /* Cursor image */ |
| 394 | 394 | }; |
| 395 | 395 | |
| 396 | −#ifdef CONFIG_FB_BACKLIGHT | |
| 397 | 396 | /* Settings for the generic backlight code */ |
| 398 | 397 | #define FB_BACKLIGHT_LEVELS 128 |
| 399 | 398 | #define FB_BACKLIGHT_MAX 0xFF |
| 400 | −#endif | |
| 401 | 399 | |
| 402 | 400 | |
| 403 | 401 | #endif /* _UAPI_LINUX_FB_H */ |