projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f6fd5c
)
sh: mrshpc_setup_windows() needs to be inline.
author
Paul Mundt
<lethal@linux-sh.org>
Wed, 17 Dec 2008 05:58:04 +0000
(14:58 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Mon, 22 Dec 2008 09:44:46 +0000
(18:44 +0900)
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>
arch/sh/include/mach-se/mach/mrshpc.h
patch
|
blob
|
history
diff --git
a/arch/sh/include/mach-se/mach/mrshpc.h
b/arch/sh/include/mach-se/mach/mrshpc.h
index
95c8b82
..
56287ee
100644
(file)
--- 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 */