[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170530210136.10556-1-maxime.ripard@free-electrons.com>
Date: Tue, 30 May 2017 23:01:36 +0200
From: Maxime Ripard <maxime.ripard@...e-electrons.com>
To: Thierry Reding <thierry.reding@...il.com>,
Daniel Vetter <daniel.vetter@...el.com>,
David Airlie <airlied@...ux.ie>
Cc: dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
Maxime Ripard <maxime.ripard@...e-electrons.com>
Subject: [PATCH] drm/panel: st7789v: Add a dependency on the backlight framework
The driver depends on the backlight functions, but we have no dependency
on it in Kconfig. Add this dependency to avoid breakages.
Signed-off-by: Maxime Ripard <maxime.ripard@...e-electrons.com>
---
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 3e29a9903303..ab40d0fbd457 100644
--- a/drivers/gpu/drm/panel/Kconfig
+++ b/drivers/gpu/drm/panel/Kconfig
@@ -100,6 +100,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.4
Powered by blists - more mailing lists