]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
fb menu: fix FB_OMAP dependencies so that menu is displayed correctly
authorRandy Dunlap <randy.dunlap@oracle.com>
Mon, 29 Oct 2007 21:37:16 +0000 (14:37 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 30 Oct 2007 15:06:55 +0000 (08:06 -0700)
Fix FB_OMAP dependencies so that the OMAP FB driver options are presented
correctly.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/Kconfig
drivers/video/omap/Kconfig

index fb9d8d0b2c0452250b85c63b9aa23b0024f8e60f..61717fa1afb91900382301247e99253ecbcfcca2 100644 (file)
@@ -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"
index f4fcf11b290d0ddaf3a4f8653a8c95482fb269a8..44408850e2ebc2d0047e1bae7d7a82a5d735e135 100644 (file)
@@ -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