diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-12-17 00:58:04 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-12-22 04:44:46 -0500 |
commit | 0146d7875976795fe364b4a3da629975ebd37671 (patch) | |
tree | 7000057a0356fd62a325d093d13eec17c4dee386 | |
parent | 1f6fd5c916c8416588f5797e7837b9e81b3251a5 (diff) |
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>
-rw-r--r-- | arch/sh/include/mach-se/mach/mrshpc.h | 2 |
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 95c8b8254015..56287ee8563a 100644 --- a/arch/sh/include/mach-se/mach/mrshpc.h +++ b/arch/sh/include/mach-se/mach/mrshpc.h | |||
@@ -3,7 +3,7 @@ | |||
3 | 3 | ||
4 | #include <linux/io.h> | 4 | #include <linux/io.h> |
5 | 5 | ||
6 | static void __init mrshpc_setup_windows(void) | 6 | static inline void __init mrshpc_setup_windows(void) |
7 | { | 7 | { |
8 | if ((__raw_readw(MRSHPC_CSR) & 0x000c) != 0) | 8 | if ((__raw_readw(MRSHPC_CSR) & 0x000c) != 0) |
9 | return; /* Not detected */ | 9 | return; /* Not detected */ |