Messages in this thread Patch in this message | | | Date | Thu, 18 Nov 2004 16:41:10 +0100 | From | Adrian Bunk <> | Subject | [patch] 2.6.10-rc2-mm2: MTD_XIP dependencies |
| |
On Thu, Nov 18, 2004 at 02:15:38AM -0800, Andrew Morton wrote: >... > Changes since 2.6.10-rc2-mm1: >... > bk-mtd.patch >...
Ths causes the following compile error:
<-- snip -->
... CC drivers/mtd/chips/cfi_probe.o In file included from drivers/mtd/chips/cfi_probe.c:18: include/linux/mtd/xip.h:77:2: #error "missing IRQ and timer primitives for XIP MTD support" {standard input}: Assembler messages: {standard input}:5: Warning: ignoring changed section attributes for .data make[3]: *** [drivers/mtd/chips/cfi_probe.o] Error 1
<-- snip -->
Let's put the dependencies from the #error into the Kconfig file:
Signed-off-by: Adrian Bunk <bunk@fs.tum.de>
--- linux-2.6.10-rc2-mm2-full/drivers/mtd/chips/Kconfig.old 2004-11-18 16:35:40.000000000 +0100 +++ linux-2.6.10-rc2-mm2-full/drivers/mtd/chips/Kconfig 2004-11-18 16:38:37.000000000 +0100 @@ -274,7 +274,7 @@ config MTD_XIP bool "XIP aware MTD support" - depends on !SMP && MTD_CFI_INTELEXT && EXPERIMENTAL + depends on !SMP && MTD_CFI_INTELEXT && (ARCH_SA1100 || ARCH_PXA) && EXPERIMENTAL default y if XIP_KERNEL help This allows MTD support to work with flash memory which is also - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |