Hi Ralf,
the following patch should fix a compile error for MIPS_MALTA, when
CONFIG_MTD is disabled.
regards,
JAN
---
- Fix a compile error for MIPS_MALTA, when CONFIG_MTD is disabled.
Signed-off-by: Jan Altenberg <jan.TakeThisOut@linutronix.de>
---
arch/mips/mips-boards/malta/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Index: linux-2.6/arch/mips/mips-boards/malta/Makefile
===================================================================
--- linux-2.6.orig/arch/mips/mips-boards/malta/Makefile
+++ linux-2.6/arch/mips/mips-boards/malta/Makefile
@@ -19,5 +19,6 @@
# under Linux.
#
-obj-y := malta_int.o malta_mtd.o malta_setup.o
+obj-y := malta_int.o malta_setup.o
+obj-$(CONFIG_MTD) += malta_mtd.o
obj-$(CONFIG_SMP) += malta_smp.o
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo.TakeThisOut@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/