[PATCH 2.6.20-rc6][MIPS]Malta: trivial compile error fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ralf,

the following patch should fix a compile error for MIPS_MALTA, when
CONFIG_MTD is disabled.

regards,
JAN

---

- Fix a compile error for MIPS_MALTA, when CONFIG_MTD is disabled.

Signed-off-by: Jan Altenberg <[email protected]>

---
 arch/mips/mips-boards/malta/Makefile |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Index: linux-2.6/arch/mips/mips-boards/malta/Makefile
===================================================================
--- linux-2.6.orig/arch/mips/mips-boards/malta/Makefile
+++ linux-2.6/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


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux