diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-01-09 20:54:47 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-10 08:02:02 -0800 |
commit | ca5ed2f5c7bf3ca51598336fcc1436b5da129f34 (patch) | |
tree | 6bff73e759d9a0c83bbb8abf60a1aca013c5c8a2 /include/asm-sh64/io.h | |
parent | e0795cf46d174d4faab35d13d0a088b5bcb2752a (diff) | |
download | op-kernel-dev-ca5ed2f5c7bf3ca51598336fcc1436b5da129f34.zip op-kernel-dev-ca5ed2f5c7bf3ca51598336fcc1436b5da129f34.tar.gz |
[PATCH] include/asm-sh64/: "extern inline" -> "static inline"
"extern inline" doesn't make much sense.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-sh64/io.h')
-rw-r--r-- | include/asm-sh64/io.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-sh64/io.h b/include/asm-sh64/io.h index cfafaa7..dee4f77 100644 --- a/include/asm-sh64/io.h +++ b/include/asm-sh64/io.h @@ -143,12 +143,12 @@ extern unsigned long pciio_virt; * Change virtual addresses to physical addresses and vv. * These are trivial on the 1:1 Linux/SuperH mapping */ -extern __inline__ unsigned long virt_to_phys(volatile void * address) +static inline unsigned long virt_to_phys(volatile void * address) { return __pa(address); } -extern __inline__ void * phys_to_virt(unsigned long address) +static inline void * phys_to_virt(unsigned long address) { return __va(address); } @@ -156,12 +156,12 @@ extern __inline__ void * phys_to_virt(unsigned long address) extern void * __ioremap(unsigned long phys_addr, unsigned long size, unsigned long flags); -extern __inline__ void * ioremap(unsigned long phys_addr, unsigned long size) +static inline void * ioremap(unsigned long phys_addr, unsigned long size) { return __ioremap(phys_addr, size, 1); } -extern __inline__ void * ioremap_nocache (unsigned long phys_addr, unsigned long size) +static inline void * ioremap_nocache (unsigned long phys_addr, unsigned long size) { return __ioremap(phys_addr, size, 0); } |