summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-12-17 14:58:04 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-12-22 18:44:46 +0900
commit0146d7875976795fe364b4a3da629975ebd37671 (patch)
tree7000057a0356fd62a325d093d13eec17c4dee386 /arch
parent1f6fd5c916c8416588f5797e7837b9e81b3251a5 (diff)
downloadop-kernel-dev-0146d7875976795fe364b4a3da629975ebd37671.zip
op-kernel-dev-0146d7875976795fe364b4a3da629975ebd37671.tar.gz
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/sh/include/mach-se/mach/mrshpc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sh/include/mach-se/mach/mrshpc.h b/arch/sh/include/mach-se/mach/mrshpc.h
index 95c8b82..56287ee 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 */
OpenPOWER on IntegriCloud