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


Groups > linux.kernel > #1663234 > unrolled thread

[PATCH] drm: panel: fix s6e3ha2.c build errors

Started byRandy Dunlap <rdunlap@infradead.org>
First post2017-06-12 05:50 +0200
Last post2017-06-12 05:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] drm: panel: fix s6e3ha2.c build errors Randy Dunlap <rdunlap@infradead.org> - 2017-06-12 05:50 +0200

#1663234 — [PATCH] drm: panel: fix s6e3ha2.c build errors

FromRandy Dunlap <rdunlap@infradead.org>
Date2017-06-12 05:50 +0200
Subject[PATCH] drm: panel: fix s6e3ha2.c build errors
Message-ID<tRowy-5la-13@gated-at.bofh.it>
From: Randy Dunlap <rdunlap@infradead.org>

Fix build errors in panel-samsung-s6e3ha2.c driver build. The driver
uses backlight interfaces so it should depend on BACKLIGHT_CLASS_DEVICE.

drivers/built-in.o: In function `s6e3ha2_remove':
panel-samsung-s6e3ha2.c:(.text+0xe49c2): undefined reference to `backlight_device_unregister'
drivers/built-in.o: In function `s6e3ha2_probe':
panel-samsung-s6e3ha2.c:(.text+0xe4dad): undefined reference to `backlight_device_register'
panel-samsung-s6e3ha2.c:(.text+0xe4e33): undefined reference to `backlight_device_unregister'

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: David Airlie <airlied@linux.ie>
Cc: dri-devel@lists.freedesktop.org
Cc: Hoegeun Kwon <hoegeun.kwon@samsung.com>
---
 drivers/gpu/drm/panel/Kconfig |    1 +
 1 file changed, 1 insertion(+)

--- lnx-412-rc5.orig/drivers/gpu/drm/panel/Kconfig
+++ lnx-412-rc5/drivers/gpu/drm/panel/Kconfig
@@ -66,6 +66,7 @@ config DRM_PANEL_SAMSUNG_S6E3HA2
 	tristate "Samsung S6E3HA2 DSI video mode panel"
 	depends on OF
 	depends on DRM_MIPI_DSI
+	depends on BACKLIGHT_CLASS_DEVICE
 	select VIDEOMODE_HELPERS
 
 config DRM_PANEL_SAMSUNG_S6E8AA0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web