History

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.

Rob Clark committed 7 years ago

Commit b4a1ed01 parent c143a554 files · +6 −8Browse files

Showing the changes to include/uapi/linux (1 of 4 files). Show all

Unified · Split

include/uapi/linux/fb.h+0−2
@@ -393,11 +393,9 @@ struct fb_cursor { · 392 unmodified lines
393 struct fb_image image; /* Cursor image */393 struct fb_image image; /* Cursor image */
394};394};
395 395
396#ifdef CONFIG_FB_BACKLIGHT
397/* Settings for the generic backlight code */396/* Settings for the generic backlight code */
398#define FB_BACKLIGHT_LEVELS 128397#define FB_BACKLIGHT_LEVELS 128
399#define FB_BACKLIGHT_MAX 0xFF398#define FB_BACKLIGHT_MAX 0xFF
400#endif
401 399
402 400
403#endif /* _UAPI_LINUX_FB_H */401#endif /* _UAPI_LINUX_FB_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t