Skip to contentSkip to conversation

Malta: trivial compile error fix

PATCH Applied Jan Altenberg 2 participants 2 messages Jan 25, 2007 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Malta: trivial compile error fix

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.

---
 arch/mips/mips-boards/malta/Makefile |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/mips/mips-boards/malta/Makefile +2 -1
Index: 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
Applied
#1 lore raw
Quoted 2 lines · Jan Altenberg

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

Thanks, applied.

Btw, git will strip anything below the "---" line from the log message, so you better put the Signed-off-by: line before it.

Ralf