]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Fix FB_OMAP dependencies so that the OMAP FB driver options are
authorRandy Dunlap <randy.dunlap@oracle.com>
Wed, 31 Oct 2007 12:56:25 +0000 (05:56 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 31 Oct 2007 12:56:25 +0000 (05:56 -0700)
presented correctly.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
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 0d3d351fdf1d38dccb73a0b12eae73787d807c15..4f7941ffe74020d8ec885f88905719211f40bcf7 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