diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-01-28 08:48:06 -0500 |
---|---|---|
committer | Dave Airlie <airlied@gmail.com> | 2015-01-30 19:11:45 -0500 |
commit | 83b37eac7c714b0912cd484772388f8e609e74d8 (patch) | |
tree | 919e46716f4f313bcf32758146c019cd28aecd8e | |
parent | f071b34f3aa5943dcdd35137275bcb0e55ed0838 (diff) |
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: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Dave Airlie <airlied@gmail.com>
-rw-r--r-- | drivers/gpu/drm/panel/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index 84506053a7ca..d84583776d50 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig | |||
@@ -10,6 +10,7 @@ menu "Display Panels" | |||
10 | config DRM_PANEL_SIMPLE | 10 | config DRM_PANEL_SIMPLE |
11 | tristate "support for simple panels" | 11 | tristate "support for simple panels" |
12 | depends on OF | 12 | depends on OF |
13 | depends on BACKLIGHT_CLASS_DEVICE | ||
13 | help | 14 | help |
14 | DRM panel driver for dumb panels that need at most a regulator and | 15 | DRM panel driver for dumb panels that need at most a regulator and |
15 | a GPIO to be powered up. Optionally a backlight can be attached so | 16 | a GPIO to be powered up. Optionally a backlight can be attached so |