[PATCH] Malta: Fix build if CONFIG_MTD is diabled.
authorJan Altenberg <jan@linutronix.de>
Thu, 25 Jan 2007 15:25:56 +0000 (16:25 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 30 Jan 2007 12:10:48 +0000 (12:10 +0000)
Signed-off-by: Jan Altenberg <jan@linutronix.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mips-boards/malta/Makefile

index b662c75fb28e1080a6667f29c2a5775f774ec23e..cb7f349b051448376a554749d4c4c1dc0c1963f8 100644 (file)
@@ -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