diff options
| author | Dmitry Torokhov <dtor@insightbb.com> | 2007-07-17 07:04:00 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-17 13:23:04 -0400 |
| commit | da6b9c92d12ee6594170d839e2e78043bd2af286 (patch) | |
| tree | 24a582b72eca6dfc5167a680cdd8ccbe2cbe9a80 /drivers/misc | |
| parent | 3110dc7a8660ea1617afac2a55e3d18ae6ce141b (diff) | |
IBMASM: dont use extern in function declarations
IBMASM: don't use extern in function declarations
We normally don't use extern in function declarations located in header files.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Cc: Vernon Mauery <vernux@us.ibm.com>
Cc: Max Asbock <masbock@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/misc')
| -rw-r--r-- | drivers/misc/ibmasm/ibmasm.h | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/drivers/misc/ibmasm/ibmasm.h b/drivers/misc/ibmasm/ibmasm.h index ec2d4dbc093b..de860bc6d3f5 100644 --- a/drivers/misc/ibmasm/ibmasm.h +++ b/drivers/misc/ibmasm/ibmasm.h | |||
| @@ -163,55 +163,55 @@ struct service_processor { | |||
| 163 | }; | 163 | }; |
| 164 | 164 | ||
| 165 | /* command processing */ | 165 | /* command processing */ |
| 166 | extern struct command *ibmasm_new_command(struct service_processor *sp, size_t buffer_size); | 166 | struct command *ibmasm_new_command(struct service_processor *sp, size_t buffer_size); |
| 167 | extern void ibmasm_exec_command(struct service_processor *sp, struct command *cmd); | 167 | void ibmasm_exec_command(struct service_processor *sp, struct command *cmd); |
| 168 | extern void ibmasm_wait_for_response(struct command *cmd, int timeout); | 168 | void ibmasm_wait_for_response(struct command *cmd, int timeout); |
| 169 | extern void ibmasm_receive_command_response(struct service_processor *sp, void *response, size_t size); | 169 | void ibmasm_receive_command_response(struct service_processor *sp, void *response, size_t size); |
| 170 | 170 | ||
| 171 | /* event processing */ | 171 | /* event processing */ |
| 172 | extern int ibmasm_event_buffer_init(struct service_processor *sp); | 172 | int ibmasm_event_buffer_init(struct service_processor *sp); |
| 173 | extern void ibmasm_event_buffer_exit(struct service_processor *sp); | 173 | void ibmasm_event_buffer_exit(struct service_processor *sp); |
| 174 | extern void ibmasm_receive_event(struct service_processor *sp, void *data, unsigned int data_size); | 174 | void ibmasm_receive_event(struct service_processor *sp, void *data, unsigned int data_size); |
| 175 | extern void ibmasm_event_reader_register(struct service_processor *sp, struct event_reader *reader); | 175 | void ibmasm_event_reader_register(struct service_processor *sp, struct event_reader *reader); |
| 176 | extern void ibmasm_event_reader_unregister(struct service_processor *sp, struct event_reader *reader); | 176 | void ibmasm_event_reader_unregister(struct service_processor *sp, struct event_reader *reader); |
| 177 | extern int ibmasm_get_next_event(struct service_processor *sp, struct event_reader *reader); | 177 | int ibmasm_get_next_event(struct service_processor *sp, struct event_reader *reader); |
| 178 | extern void ibmasm_cancel_next_event(struct event_reader *reader); | 178 | void ibmasm_cancel_next_event(struct event_reader *reader); |
| 179 | 179 | ||
| 180 | /* heartbeat - from SP to OS */ | 180 | /* heartbeat - from SP to OS */ |
| 181 | extern void ibmasm_register_panic_notifier(void); | 181 | void ibmasm_register_panic_notifier(void); |
| 182 | extern void ibmasm_unregister_panic_notifier(void); | 182 | void ibmasm_unregister_panic_notifier(void); |
| 183 | extern int ibmasm_heartbeat_init(struct service_processor *sp); | 183 | int ibmasm_heartbeat_init(struct service_processor *sp); |
| 184 | extern void ibmasm_heartbeat_exit(struct service_processor *sp); | 184 | void ibmasm_heartbeat_exit(struct service_processor *sp); |
| 185 | extern void ibmasm_receive_heartbeat(struct service_processor *sp, void *message, size_t size); | 185 | void ibmasm_receive_heartbeat(struct service_processor *sp, void *message, size_t size); |
| 186 | 186 | ||
| 187 | /* reverse heartbeat - from OS to SP */ | 187 | /* reverse heartbeat - from OS to SP */ |
| 188 | extern void ibmasm_init_reverse_heartbeat(struct service_processor *sp, struct reverse_heartbeat *rhb); | 188 | void ibmasm_init_reverse_heartbeat(struct service_processor *sp, struct reverse_heartbeat *rhb); |
| 189 | extern int ibmasm_start_reverse_heartbeat(struct service_processor *sp, struct reverse_heartbeat *rhb); | 189 | int ibmasm_start_reverse_heartbeat(struct service_processor *sp, struct reverse_heartbeat *rhb); |
| 190 | extern void ibmasm_stop_reverse_heartbeat(struct reverse_heartbeat *rhb); | 190 | void ibmasm_stop_reverse_heartbeat(struct reverse_heartbeat *rhb); |
| 191 | 191 | ||
| 192 | /* dot commands */ | 192 | /* dot commands */ |
| 193 | extern void ibmasm_receive_message(struct service_processor *sp, void *data, int data_size); | 193 | void ibmasm_receive_message(struct service_processor *sp, void *data, int data_size); |
| 194 | extern int ibmasm_send_driver_vpd(struct service_processor *sp); | 194 | int ibmasm_send_driver_vpd(struct service_processor *sp); |
| 195 | extern int ibmasm_send_os_state(struct service_processor *sp, int os_state); | 195 | int ibmasm_send_os_state(struct service_processor *sp, int os_state); |
| 196 | 196 | ||
| 197 | /* low level message processing */ | 197 | /* low level message processing */ |
| 198 | extern int ibmasm_send_i2o_message(struct service_processor *sp); | 198 | int ibmasm_send_i2o_message(struct service_processor *sp); |
| 199 | extern irqreturn_t ibmasm_interrupt_handler(int irq, void * dev_id); | 199 | irqreturn_t ibmasm_interrupt_handler(int irq, void * dev_id); |
| 200 | 200 | ||
| 201 | /* remote console */ | 201 | /* remote console */ |
| 202 | extern void ibmasm_handle_mouse_interrupt(struct service_processor *sp); | 202 | void ibmasm_handle_mouse_interrupt(struct service_processor *sp); |
| 203 | extern int ibmasm_init_remote_input_dev(struct service_processor *sp); | 203 | int ibmasm_init_remote_input_dev(struct service_processor *sp); |
| 204 | extern void ibmasm_free_remote_input_dev(struct service_processor *sp); | 204 | void ibmasm_free_remote_input_dev(struct service_processor *sp); |
| 205 | 205 | ||
| 206 | /* file system */ | 206 | /* file system */ |
| 207 | extern int ibmasmfs_register(void); | 207 | int ibmasmfs_register(void); |
| 208 | extern void ibmasmfs_unregister(void); | 208 | void ibmasmfs_unregister(void); |
| 209 | extern void ibmasmfs_add_sp(struct service_processor *sp); | 209 | void ibmasmfs_add_sp(struct service_processor *sp); |
| 210 | 210 | ||
| 211 | /* uart */ | 211 | /* uart */ |
| 212 | #ifdef CONFIG_SERIAL_8250 | 212 | #ifdef CONFIG_SERIAL_8250 |
| 213 | extern void ibmasm_register_uart(struct service_processor *sp); | 213 | void ibmasm_register_uart(struct service_processor *sp); |
| 214 | extern void ibmasm_unregister_uart(struct service_processor *sp); | 214 | void ibmasm_unregister_uart(struct service_processor *sp); |
| 215 | #else | 215 | #else |
| 216 | #define ibmasm_register_uart(sp) do { } while(0) | 216 | #define ibmasm_register_uart(sp) do { } while(0) |
| 217 | #define ibmasm_unregister_uart(sp) do { } while(0) | 217 | #define ibmasm_unregister_uart(sp) do { } while(0) |
