diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-11-22 18:30:29 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-11-22 18:30:29 -0500 |
commit | a9b1ef8ec7df544b236b19fb6cc42ed2591b65cd (patch) | |
tree | b56181ba0c5b72d38c1c75b8780617fa2eacd7c8 /drivers/sbus/char | |
parent | b3a5225f31180322fd7d692fd4cf786702826b94 (diff) |
[SPARC]: drivers/sbus/char/aurora.c: "extern inline" -> "static inline"
"extern inline" doesn't make much sense.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/sbus/char')
-rw-r--r-- | drivers/sbus/char/aurora.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/sbus/char/aurora.c b/drivers/sbus/char/aurora.c index 672f9f2b2163..92e6c5639dd3 100644 --- a/drivers/sbus/char/aurora.c +++ b/drivers/sbus/char/aurora.c | |||
@@ -124,25 +124,25 @@ static inline int aurora_paranoia_check(struct Aurora_port const * port, | |||
124 | */ | 124 | */ |
125 | 125 | ||
126 | /* Get board number from pointer */ | 126 | /* Get board number from pointer */ |
127 | extern inline int board_No (struct Aurora_board const * bp) | 127 | static inline int board_No (struct Aurora_board const * bp) |
128 | { | 128 | { |
129 | return bp - aurora_board; | 129 | return bp - aurora_board; |
130 | } | 130 | } |
131 | 131 | ||
132 | /* Get port number from pointer */ | 132 | /* Get port number from pointer */ |
133 | extern inline int port_No (struct Aurora_port const * port) | 133 | static inline int port_No (struct Aurora_port const * port) |
134 | { | 134 | { |
135 | return AURORA_PORT(port - aurora_port); | 135 | return AURORA_PORT(port - aurora_port); |
136 | } | 136 | } |
137 | 137 | ||
138 | /* Get pointer to board from pointer to port */ | 138 | /* Get pointer to board from pointer to port */ |
139 | extern inline struct Aurora_board * port_Board(struct Aurora_port const * port) | 139 | static inline struct Aurora_board * port_Board(struct Aurora_port const * port) |
140 | { | 140 | { |
141 | return &aurora_board[AURORA_BOARD(port - aurora_port)]; | 141 | return &aurora_board[AURORA_BOARD(port - aurora_port)]; |
142 | } | 142 | } |
143 | 143 | ||
144 | /* Wait for Channel Command Register ready */ | 144 | /* Wait for Channel Command Register ready */ |
145 | extern inline void aurora_wait_CCR(struct aurora_reg128 * r) | 145 | static inline void aurora_wait_CCR(struct aurora_reg128 * r) |
146 | { | 146 | { |
147 | unsigned long delay; | 147 | unsigned long delay; |
148 | 148 | ||
@@ -161,7 +161,7 @@ printk("aurora_wait_CCR\n"); | |||
161 | */ | 161 | */ |
162 | 162 | ||
163 | /* Must be called with enabled interrupts */ | 163 | /* Must be called with enabled interrupts */ |
164 | extern inline void aurora_long_delay(unsigned long delay) | 164 | static inline void aurora_long_delay(unsigned long delay) |
165 | { | 165 | { |
166 | unsigned long i; | 166 | unsigned long i; |
167 | 167 | ||
@@ -420,7 +420,7 @@ static void aurora_release_io_range(struct Aurora_board *bp) | |||
420 | sbus_iounmap((unsigned long)bp->r3, 4); | 420 | sbus_iounmap((unsigned long)bp->r3, 4); |
421 | } | 421 | } |
422 | 422 | ||
423 | extern inline void aurora_mark_event(struct Aurora_port * port, int event) | 423 | static inline void aurora_mark_event(struct Aurora_port * port, int event) |
424 | { | 424 | { |
425 | #ifdef AURORA_DEBUG | 425 | #ifdef AURORA_DEBUG |
426 | printk("aurora_mark_event: start\n"); | 426 | printk("aurora_mark_event: start\n"); |