fbdev: make FB_BACKLIGHT a tristate
authorRob Clark <robdclark@gmail.com>
Thu, 20 Dec 2018 18:13:07 +0000 (19:13 +0100)
committerBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Thu, 20 Dec 2018 18:13:07 +0000 (19:13 +0100)
commitb4a1ed0cd18b771e4279b4eb9cf39b565560eea6
tree29acad0b518ea8aea3d468822eb3c94b81e28662
parentc143a559b073aeea688b9bb7c5b46f3cf322d569
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>
drivers/video/fbdev/Kconfig
drivers/video/fbdev/core/fbsysfs.c
include/linux/fb.h
include/uapi/linux/fb.h