summaryrefslogtreecommitdiffstats
path: root/include/asm-parisc/io.h
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2007-10-16 14:24:59 -0700
committerKyle McMartin <kyle@shortfin.cabal.ca>2007-10-18 00:58:41 -0700
commitf13cec8447f18cca3a0feb4b83b7ba6fae9e59ae (patch)
treeab42ee63ed1a108262c9a7267fa7e36d8a9e923d /include/asm-parisc/io.h
parent0ed5462927211286502576142bd322d850b49a86 (diff)
[PARISC] parisc: "extern inline" -> "static inline"
"extern inline" will have different semantics with gcc 4.3, and "static inline" is correct here. Signed-off-by: Adrian Bunk <bunk@stusta.de> Cc: Matthew Wilcox <willy@debian.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Diffstat (limited to 'include/asm-parisc/io.h')
-rw-r--r--include/asm-parisc/io.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-parisc/io.h b/include/asm-parisc/io.h
index 95f00e11c7b..55ddb184210 100644
--- a/include/asm-parisc/io.h
+++ b/include/asm-parisc/io.h
@@ -138,7 +138,7 @@ extern void __iomem * __ioremap(unsigned long offset, unsigned long size, unsign
/* Most machines react poorly to I/O-space being cacheable... Instead let's
* define ioremap() in terms of ioremap_nocache().
*/
-extern inline void __iomem * ioremap(unsigned long offset, unsigned long size)
+static inline void __iomem * ioremap(unsigned long offset, unsigned long size)
{
return __ioremap(offset, size, _PAGE_NO_CACHE);
}