public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2.6.20-rc6][MIPS]Malta: trivial compile error fix
@ 2007-01-25 15:25 Jan Altenberg
  2007-01-25 17:14 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Altenberg @ 2007-01-25 15:25 UTC (permalink / raw)
  To: Ralf Baechle; +Cc: linux-kernel

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 <jan@linutronix.de>

---
 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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-25 17:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-25 15:25 [PATCH 2.6.20-rc6][MIPS]Malta: trivial compile error fix Jan Altenberg
2007-01-25 17:14 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox