aboutsummaryrefslogtreecommitdiff
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 12:10:48 +0000
commitbf2326e7525404576ab2bdf890e903ca4a249093 (patch)
tree8e4286fc1d6b5c9f8f83461cf44f2c9c87bac47e /arch/mips/mips-boards
parentc0d4d573feed199b16094c072e7cb07afb01c598 (diff)
[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 b662c75fb28..cb7f349b051 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