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 fb9d8d0..61717fa 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 0d3d351..4f7941f 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