diff options
Diffstat (limited to 'include/asm-x86/mach-visws/lithium.h')
-rw-r--r-- | include/asm-x86/mach-visws/lithium.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-x86/mach-visws/lithium.h b/include/asm-x86/mach-visws/lithium.h index d443e68d0066..dfcd4f07ab85 100644 --- a/include/asm-x86/mach-visws/lithium.h +++ b/include/asm-x86/mach-visws/lithium.h | |||
@@ -29,22 +29,22 @@ | |||
29 | #define LI_INTD 0x0080 | 29 | #define LI_INTD 0x0080 |
30 | 30 | ||
31 | /* More special purpose macros... */ | 31 | /* More special purpose macros... */ |
32 | extern __inline void li_pcia_write16(unsigned long reg, unsigned short v) | 32 | static inline void li_pcia_write16(unsigned long reg, unsigned short v) |
33 | { | 33 | { |
34 | *((volatile unsigned short *)(LI_PCIA_VADDR+reg))=v; | 34 | *((volatile unsigned short *)(LI_PCIA_VADDR+reg))=v; |
35 | } | 35 | } |
36 | 36 | ||
37 | extern __inline unsigned short li_pcia_read16(unsigned long reg) | 37 | static inline unsigned short li_pcia_read16(unsigned long reg) |
38 | { | 38 | { |
39 | return *((volatile unsigned short *)(LI_PCIA_VADDR+reg)); | 39 | return *((volatile unsigned short *)(LI_PCIA_VADDR+reg)); |
40 | } | 40 | } |
41 | 41 | ||
42 | extern __inline void li_pcib_write16(unsigned long reg, unsigned short v) | 42 | static inline void li_pcib_write16(unsigned long reg, unsigned short v) |
43 | { | 43 | { |
44 | *((volatile unsigned short *)(LI_PCIB_VADDR+reg))=v; | 44 | *((volatile unsigned short *)(LI_PCIB_VADDR+reg))=v; |
45 | } | 45 | } |
46 | 46 | ||
47 | extern __inline unsigned short li_pcib_read16(unsigned long reg) | 47 | static inline unsigned short li_pcib_read16(unsigned long reg) |
48 | { | 48 | { |
49 | return *((volatile unsigned short *)(LI_PCIB_VADDR+reg)); | 49 | return *((volatile unsigned short *)(LI_PCIB_VADDR+reg)); |
50 | } | 50 | } |