OMAP: OMAPFB: disable old omapfb for OMAP4 builds
authorTomi Valkeinen <tomi.valkeinen@nokia.com>
Tue, 14 Dec 2010 12:39:06 +0000 (14:39 +0200)
committerTomi Valkeinen <tomi.valkeinen@nokia.com>
Wed, 15 Dec 2010 09:17:08 +0000 (11:17 +0200)
commitb99ddbf83c064382b145d2156cc819d1eb4fc54d
tree5803b13ad6431338d3baacf1609668ab92300823
parent4422c04bbb09f1864e2ce27296457f86d4167fe2
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>
drivers/video/omap/Kconfig