lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100520140829.11233713.randy.dunlap@oracle.com>
Date:	Thu, 20 May 2010 14:08:29 -0700
From:	Randy Dunlap <randy.dunlap@...cle.com>
To:	akpm@...ux-foundation.org, InKi Dae <inki.dae@...sung.com>,
	Richard Purdie <rpurdie@...ys.net>
Cc:	lkml <linux-kernel@...r.kernel.org>
Subject: [PATCH -mmotm] backlight: fix s6e63m0 kconfig

From: Randy Dunlap <randy.dunlap@...cle.com>

Fix kconfig file dependency and help text.
Move the driver's Kconfig symbol inside the LCD_CLASS_DEVICE block.

When CONFIG_BACKLIGHT_CLASS_DEVICE is not enabled:
ERROR: "backlight_device_register" [drivers/video/backlight/s6e63m0.ko] undefined!

Signed-off-by: Randy Dunlap <randy.dunlap@...cle.com>
Cc: InKi Dae  <inki.dae@...sung.com>
Cc: Richard Purdie <rpurdie@...ys.net>
---
Looks like several backlight/LCD drivers have this kind of relationship.

 drivers/video/backlight/Kconfig |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

--- mmotm-2010-0519-1612.orig/drivers/video/backlight/Kconfig
+++ mmotm-2010-0519-1612/drivers/video/backlight/Kconfig
@@ -101,14 +101,16 @@ config LCD_HP700
 	  If you have an HP Jornada 700 series handheld (710/720/728)
 	  say Y to enable LCD control driver.
 
-endif # LCD_CLASS_DEVICE
-
 config LCD_S6E63M0
 	tristate "S6E63M0 AMOLED LCD Driver"
-	depends on LCD_CLASS_DEVICE && SPI
+	depends on SPI && BACKLIGHT_CLASS_DEVICE
 	default n
 	help
-	  If you have an S6E63M0 LCD Panel say Y to enable LCD control driver
+	  If you have an S6E63M0 LCD Panel, say Y to enable its
+	  LCD control driver.
+
+endif # LCD_CLASS_DEVICE
+
 #
 # Backlight
 #
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ