diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-11-07 03:58:44 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-07 10:53:30 -0500 |
commit | d9b5444eeb3a663ca4a625878b1421c9e9b18e8b (patch) | |
tree | 6cc32711116977944043c54e0c196c75358916be /include/asm-cris/io.h | |
parent | 5f9c3cbcd5d41be597aef9c0ff64ebfc8a91cd6f (diff) |
[PATCH] cris: "extern inline" -> "static inline"
"extern inline" doesn't make much sense.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Mikael Starvik <starvik@axis.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-cris/io.h')
-rw-r--r-- | include/asm-cris/io.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-cris/io.h b/include/asm-cris/io.h index 16e791b3c721..716c69bc58f8 100644 --- a/include/asm-cris/io.h +++ b/include/asm-cris/io.h | |||
@@ -23,12 +23,12 @@ extern struct cris_io_operations *cris_iops; | |||
23 | * Change virtual addresses to physical addresses and vv. | 23 | * Change virtual addresses to physical addresses and vv. |
24 | */ | 24 | */ |
25 | 25 | ||
26 | extern inline unsigned long virt_to_phys(volatile void * address) | 26 | static inline unsigned long virt_to_phys(volatile void * address) |
27 | { | 27 | { |
28 | return __pa(address); | 28 | return __pa(address); |
29 | } | 29 | } |
30 | 30 | ||
31 | extern inline void * phys_to_virt(unsigned long address) | 31 | static inline void * phys_to_virt(unsigned long address) |
32 | { | 32 | { |
33 | return __va(address); | 33 | return __va(address); |
34 | } | 34 | } |
@@ -36,7 +36,7 @@ extern inline void * phys_to_virt(unsigned long address) | |||
36 | extern void __iomem * __ioremap(unsigned long offset, unsigned long size, unsigned long flags); | 36 | extern void __iomem * __ioremap(unsigned long offset, unsigned long size, unsigned long flags); |
37 | extern void __iomem * __ioremap_prot(unsigned long phys_addr, unsigned long size, pgprot_t prot); | 37 | extern void __iomem * __ioremap_prot(unsigned long phys_addr, unsigned long size, pgprot_t prot); |
38 | 38 | ||
39 | extern inline void __iomem * ioremap (unsigned long offset, unsigned long size) | 39 | static inline void __iomem * ioremap (unsigned long offset, unsigned long size) |
40 | { | 40 | { |
41 | return __ioremap(offset, size, 0); | 41 | return __ioremap(offset, size, 0); |
42 | } | 42 | } |