fb menu: fix FB_OMAP dependencies so that menu is displayed correctly

Started by Randy Dunlap on Oct 22, 2007

DORMANTno replies

open the first message on its own page

Message details and related content
From: Randy Dunlap <redacted>

Fix FB_OMAP dependencies so that the OMAP FB driver options are
presented correctly.

Signed-off-by: Randy Dunlap <redacted>
---
 drivers/video/Kconfig      |    4 +---
 drivers/video/omap/Kconfig |    2 +-
 2 files changed, 2 insertions(+), 4 deletions(-)
--- linux-2.6.23-git13.orig/drivers/video/Kconfig
+++ linux-2.6.23-git13/drivers/video/Kconfig
@@ -1892,9 +1892,7 @@ config FB_VIRTUAL
 
 	  If unsure, say N.
 
-if ARCH_OMAP
-	source "drivers/video/omap/Kconfig"
-endif
+source "drivers/video/omap/Kconfig"
 
 source "drivers/video/backlight/Kconfig"
 source "drivers/video/display/Kconfig"
--- linux-2.6.23-git13.orig/drivers/video/omap/Kconfig
+++ linux-2.6.23-git13/drivers/video/omap/Kconfig
@@ -1,6 +1,6 @@
 config FB_OMAP
 	tristate "OMAP frame buffer support (EXPERIMENTAL)"
-	depends on FB
+	depends on FB && ARCH_OMAP
 	select FB_CFB_FILLRECT
 	select FB_CFB_COPYAREA
 	select FB_CFB_IMAGEBLIT

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help