From: Paul Mundt <lethal@linux-sh.org>
Date: Wed, 17 Dec 2008 05:58:04 +0000 (+0900)
Subject: sh: mrshpc_setup_windows() needs to be inline.
X-Git-Tag: v2.6.29-rc1~591^2~18
X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0146d7875976795fe364b4a3da629975ebd37671;p=linux-2.6-omap-h63xx.git

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

diff --git a/arch/sh/include/mach-se/mach/mrshpc.h b/arch/sh/include/mach-se/mach/mrshpc.h
index 95c8b825401..56287ee8563 100644
--- a/arch/sh/include/mach-se/mach/mrshpc.h
+++ b/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 */