[PATCH] Don't allow CONFIG_PMAC_BACKLIGHT on pmac64

Andi Kleen ak at muc.de
Wed Dec 21 23:12:01 EST 2005


For 2.6.15rc6-git2

Don't allow to set CONFIG_MAC_BACKLIGHT on pmac64. It won't compile.

Signed-off-by: Andi Kleen <ak at muc.de>

diff -u linux-2.6.15rc6git2/drivers/macintosh/Kconfig-o linux-2.6.15rc6git2/drivers/macintosh/Kconfig
--- linux-2.6.15rc6git2/drivers/macintosh/Kconfig-o	2005-12-21 12:27:45.000000000 +0100
+++ linux-2.6.15rc6git2/drivers/macintosh/Kconfig	2005-12-21 13:07:47.000000000 +0100
@@ -103,7 +103,7 @@
 # on non-powerbook machines (but only on PMU based ones AFAIK)
 config PMAC_BACKLIGHT
 	bool "Backlight control for LCD screens"
-	depends on ADB_PMU && (BROKEN || !PPC64)
+	depends on ADB_PMU && !PPC64
 	help
 	  Say Y here to build in code to manage the LCD backlight on a
 	  Macintosh PowerBook.  With this code, the backlight will be turned



More information about the Linuxppc-dev mailing list