提交 83b37eac 编写于 作者: A Arnd Bergmann 提交者: Dave Airlie

drm: panel/simple: add backlight dependency

The simple panel code uses the backlight interface to
find a device, which fails when backlight is disabled:

drivers/built-in.o: In function `panel_simple_platform_probe':
:(.text+0xd3c48): undefined reference to `of_find_backlight_by_node'
Signed-off-by: NArnd Bergmann <arnd@arndb.de>
Signed-off-by: NDave Airlie <airlied@gmail.com>
上级 f071b34f
...@@ -10,6 +10,7 @@ menu "Display Panels" ...@@ -10,6 +10,7 @@ menu "Display Panels"
config DRM_PANEL_SIMPLE config DRM_PANEL_SIMPLE
tristate "support for simple panels" tristate "support for simple panels"
depends on OF depends on OF
depends on BACKLIGHT_CLASS_DEVICE
help help
DRM panel driver for dumb panels that need at most a regulator and DRM panel driver for dumb panels that need at most a regulator and
a GPIO to be powered up. Optionally a backlight can be attached so a GPIO to be powered up. Optionally a backlight can be attached so
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册