[MIPS] Malta: Always compile MTD platform device registration code.
authorRalf Baechle <ralf@linux-mips.org>
Sun, 15 Jun 2008 23:23:39 +0000 (00:23 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 16 Jun 2008 14:14:48 +0000 (15:14 +0100)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mips-boards/malta/Makefile

index 8dc6e2ac4c0386e80867ca018e1f9b72ac5c5758..db4ad654a6d344a8871e090347b1c07b62029862 100644 (file)
@@ -19,9 +19,8 @@
 # under Linux.
 #
 
-obj-y := malta_int.o malta_platform.o malta_setup.o
+obj-y := malta_int.o malta_mtd.o malta_platform.o malta_setup.o
 
-obj-$(CONFIG_MTD) += malta_mtd.o
 # FIXME FIXME FIXME
 obj-$(CONFIG_MIPS_MT_SMTC) += malta_smtc.o