Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1626668 > unrolled thread

[PATCH 3/3] drm/panel: add backlight dependency for sitronix-st7789v

Started byArnd Bergmann <arnd@arndb.de>
First post2017-04-19 20:10 +0200
Last post2017-04-19 20:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 3/3] drm/panel: add backlight dependency for sitronix-st7789v Arnd Bergmann <arnd@arndb.de> - 2017-04-19 20:10 +0200

#1626668 — [PATCH 3/3] drm/panel: add backlight dependency for sitronix-st7789v

FromArnd Bergmann <arnd@arndb.de>
Date2017-04-19 20:10 +0200
Subject[PATCH 3/3] drm/panel: add backlight dependency for sitronix-st7789v
Message-ID<ty2dc-6Gz-23@gated-at.bofh.it>
Without the dependency, we run into a link error:

drivers/gpu/drm/panel/panel-sitronix-st7789v.o: In function `st7789v_probe':
panel-sitronix-st7789v.c:(.text.st7789v_probe+0xc0): undefined reference to `of_find_backlight_by_node'

Fixes: 7142afb3a186 ("drm/panel: Add driver for sitronix ST7789V LCD controller")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 drivers/gpu/drm/panel/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig
index 6eb9774284df..04d068177e16 100644
--- a/drivers/gpu/drm/panel/Kconfig
+++ b/drivers/gpu/drm/panel/Kconfig
@@ -101,6 +101,7 @@ config DRM_PANEL_SHARP_LS043T1LE01
 config DRM_PANEL_SITRONIX_ST7789V
 	tristate "Sitronix ST7789V panel"
 	depends on OF && SPI
+	depends on BACKLIGHT_CLASS_DEVICE
 	help
 	  Say Y here if you want to enable support for the Sitronix
 	  ST7789V controller for 240x320 LCD panels
-- 
2.9.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web