[2.6 patch] FB_INTEL must depend on HW_CONSOLE

From: Adrian Bunk
Date: Sat Jul 23 2005 - 17:14:38 EST


CONFIG_FB_INTEL=y and CONFIG_HW_CONSOLE results in the following compile
error:

<-- snip -->

...
LD vmlinux
drivers/built-in.o: In function `intelfb_pci_register':
intelfbdrv.c:(.text+0x171960): undefined reference to `color_table'
intelfbdrv.c:(.text+0x171971): undefined reference to `default_red'
intelfbdrv.c:(.text+0x17197e): undefined reference to `default_grn'
intelfbdrv.c:(.text+0x17198b): undefined reference to `default_blu'
intelfbdrv.c:(.text+0x17199a): undefined reference to `color_table'
make: *** [vmlinux] Error 1

<-- snip -->


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.13-rc3-mm1-full/drivers/video/Kconfig.old 2005-07-23 22:12:18.000000000 +0200
+++ linux-2.6.13-rc3-mm1-full/drivers/video/Kconfig 2005-07-23 22:12:51.000000000 +0200
@@ -756,7 +756,7 @@

config FB_INTEL
tristate "Intel 830M/845G/852GM/855GM/865G support (EXPERIMENTAL)"
- depends on FB && EXPERIMENTAL && PCI && X86 && !X86_64
+ depends on FB && HW_CONSOLE && EXPERIMENTAL && PCI && X86 && !X86_64
select AGP
select AGP_INTEL
select FB_MODE_HELPERS

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/