diff mbox

arch/sh: Fix build failure caused by missing semicolon / missing include

Message ID 201001180357.31594.PeterHuewe@gmx.de (mailing list archive)
State Not Applicable
Headers show

Commit Message

Peter Huewe Jan. 18, 2010, 2:57 a.m. UTC
None
diff mbox

Patch

diff --git a/arch/sh/include/asm/mmu.h b/arch/sh/include/asm/mmu.h
index 4b0882b..c5313e2 100644
--- a/arch/sh/include/asm/mmu.h
+++ b/arch/sh/include/asm/mmu.h
@@ -1,5 +1,6 @@ 
 #ifndef __MMU_H
 #define __MMU_H
+#include <linux/errno.h>
 
 /*
  * Privileged Space Mapping Buffer (PMB) definitions
@@ -75,7 +76,7 @@  int pmb_init(void);
 static inline long pmb_remap(unsigned long virt, unsigned long phys,
 			     unsigned long size, unsigned long flags)
 {
-	return -EINVAL
+	return -EINVAL;
 }
 
 static inline void pmb_unmap(unsigned long addr)