diff options
author | Tony Luck <tony.luck@intel.com> | 2005-11-07 12:05:22 -0500 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2005-11-07 12:05:22 -0500 |
commit | 0ad3a96f8ad910ecf87a25ec69ed360b284dee2e (patch) | |
tree | 12d292fd58fc0f7a3eb56c89dfc23569f3ab6c00 /include/asm-cris/io.h | |
parent | f79b348856fbaf77e4a0c5cb08a808e5879967a9 (diff) | |
parent | 5b2f7ffcb734d3046144dfbd5ac6d76254a9e522 (diff) |
Auto-update from upstream
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 | } |