diff options
| author | Rob Clark <robdclark@gmail.com> | 2018-12-20 13:13:07 -0500 |
|---|---|---|
| committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2018-12-20 13:13:07 -0500 |
| commit | b4a1ed0cd18b771e4279b4eb9cf39b565560eea6 (patch) | |
| tree | 29acad0b518ea8aea3d468822eb3c94b81e28662 /include/uapi/linux/fb.h | |
| parent | c143a559b073aeea688b9bb7c5b46f3cf322d569 (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 <robdclark@gmail.com>
Tested-by: Arnd Bergmann <arnd@arndb.de>
Cc: Simon Horman <horms+renesas@verge.net.au>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Ulf Magnusson <ulfalizer@gmail.com>
Cc: Randy Dunlap <rdunlap@infradead.org>
Cc: Hans de Goede <j.w.r.degoede@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'include/uapi/linux/fb.h')
| -rw-r--r-- | include/uapi/linux/fb.h | 2 |
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 { | |||
| 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 128 | 397 | #define FB_BACKLIGHT_LEVELS 128 |
| 399 | #define FB_BACKLIGHT_MAX 0xFF | 398 | #define FB_BACKLIGHT_MAX 0xFF |
| 400 | #endif | ||
| 401 | 399 | ||
| 402 | 400 | ||
| 403 | #endif /* _UAPI_LINUX_FB_H */ | 401 | #endif /* _UAPI_LINUX_FB_H */ |
