浏览代码

sh: mrshpc_setup_windows() needs to be inline.

While no one should be including this file multiple times, flag it
inline anyways just in case.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Paul Mundt 16 年之前
父节点
当前提交
0146d78759
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/sh/include/mach-se/mach/mrshpc.h

+ 1 - 1
arch/sh/include/mach-se/mach/mrshpc.h

@@ -3,7 +3,7 @@
 
 #include <linux/io.h>
 
-static void __init mrshpc_setup_windows(void)
+static inline void __init mrshpc_setup_windows(void)
 {
 	if ((__raw_readw(MRSHPC_CSR) & 0x000c) != 0)
 		return;	/* Not detected */