From: Jan Altenberg Date: Thu, 25 Jan 2007 15:25:56 +0000 (+0100) Subject: [PATCH] Malta: Fix build if CONFIG_MTD is diabled. X-Git-Tag: v2.6.20-rc7~27^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=bf2326e7525404576ab2bdf890e903ca4a249093;p=linux-2.6-omap-h63xx.git [PATCH] Malta: Fix build if CONFIG_MTD is diabled. Signed-off-by: Jan Altenberg Signed-off-by: Ralf Baechle --- 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