summaryrefslogtreecommitdiffstats
path: root/arch/mips/mips-boards
diff options
context:
space:
mode:
authorJan Altenberg <jan@linutronix.de>2007-01-25 16:25:56 +0100
committerRalf Baechle <ralf@linux-mips.org>2007-01-30 13:10:48 +0100
commitbf2326e7525404576ab2bdf890e903ca4a249093 (patch)
tree8e4286fc1d6b5c9f8f83461cf44f2c9c87bac47e /arch/mips/mips-boards
parent[PATCH] Fix SG_IO timeout jiffy conversion (diff)
downloadlinux-bf2326e7525404576ab2bdf890e903ca4a249093.tar.xz
linux-bf2326e7525404576ab2bdf890e903ca4a249093.zip
[PATCH] Malta: Fix build if CONFIG_MTD is diabled.
Signed-off-by: Jan Altenberg <jan@linutronix.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mips-boards')
-rw-r--r--arch/mips/mips-boards/malta/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mips/mips-boards/malta/Makefile b/arch/mips/mips-boards/malta/Makefile
index b662c75fb28e..cb7f349b0514 100644
--- a/arch/mips/mips-boards/malta/Makefile
+++ b/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