summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@nokia.com>2010-12-14 14:39:06 +0200
committerTomi Valkeinen <tomi.valkeinen@nokia.com>2010-12-15 11:17:08 +0200
commitb99ddbf83c064382b145d2156cc819d1eb4fc54d (patch)
tree5803b13ad6431338d3baacf1609668ab92300823 /drivers
parent4422c04bbb09f1864e2ce27296457f86d4167fe2 (diff)
downloadlinux-b99ddbf83c064382b145d2156cc819d1eb4fc54d.tar.gz
linux-b99ddbf83c064382b145d2156cc819d1eb4fc54d.tar.bz2
linux-b99ddbf83c064382b145d2156cc819d1eb4fc54d.zip
OMAP: OMAPFB: disable old omapfb for OMAP4 builds
Build fails when OMAP4 and FB_OMAP are defined: drivers/built-in.o: In function `omapfb_do_probe': drivers/video/omap/omapfb_main.c:1773: undefined reference to `omap2_int_ctrl' Old omapfb does not work on OMAP4, and never will. Change the omapfb build dependency so that old omapfb depends on OMAP1/2/3, fixing the build for plain OMAP4 builds. Reported-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/video/omap/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/omap/Kconfig b/drivers/video/omap/Kconfig
index 455c6055325d..083c8fe53e24 100644
--- a/drivers/video/omap/Kconfig
+++ b/drivers/video/omap/Kconfig
@@ -1,7 +1,7 @@
config FB_OMAP
tristate "OMAP frame buffer support (EXPERIMENTAL)"
- depends on FB && ARCH_OMAP && (OMAP2_DSS = "n")
-
+ depends on FB && (OMAP2_DSS = "n")
+ depends on ARCH_OMAP1 || ARCH_OMAP2 || ARCH_OMAP3
select FB_CFB_FILLRECT
select FB_CFB_COPYAREA
select FB_CFB_IMAGEBLIT