diff options
Diffstat (limited to 'drivers/pci/hotplug/ibmphp.h')
-rw-r--r-- | drivers/pci/hotplug/ibmphp.h | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/drivers/pci/hotplug/ibmphp.h b/drivers/pci/hotplug/ibmphp.h index a8d391a4957d..8c5b25871d02 100644 --- a/drivers/pci/hotplug/ibmphp.h +++ b/drivers/pci/hotplug/ibmphp.h | |||
@@ -275,17 +275,17 @@ extern struct list_head ibmphp_slot_head; | |||
275 | * FUNCTION PROTOTYPES * | 275 | * FUNCTION PROTOTYPES * |
276 | ***********************************************************/ | 276 | ***********************************************************/ |
277 | 277 | ||
278 | extern void ibmphp_free_ebda_hpc_queue (void); | 278 | void ibmphp_free_ebda_hpc_queue(void); |
279 | extern int ibmphp_access_ebda (void); | 279 | int ibmphp_access_ebda(void); |
280 | extern struct slot *ibmphp_get_slot_from_physical_num (u8); | 280 | struct slot *ibmphp_get_slot_from_physical_num(u8); |
281 | extern int ibmphp_get_total_hp_slots (void); | 281 | int ibmphp_get_total_hp_slots(void); |
282 | extern void ibmphp_free_ibm_slot (struct slot *); | 282 | void ibmphp_free_ibm_slot(struct slot *); |
283 | extern void ibmphp_free_bus_info_queue (void); | 283 | void ibmphp_free_bus_info_queue(void); |
284 | extern void ibmphp_free_ebda_pci_rsrc_queue (void); | 284 | void ibmphp_free_ebda_pci_rsrc_queue(void); |
285 | extern struct bus_info *ibmphp_find_same_bus_num (u32); | 285 | struct bus_info *ibmphp_find_same_bus_num(u32); |
286 | extern int ibmphp_get_bus_index (u8); | 286 | int ibmphp_get_bus_index(u8); |
287 | extern u16 ibmphp_get_total_controllers (void); | 287 | u16 ibmphp_get_total_controllers(void); |
288 | extern int ibmphp_register_pci (void); | 288 | int ibmphp_register_pci(void); |
289 | 289 | ||
290 | /* passed parameters */ | 290 | /* passed parameters */ |
291 | #define MEM 0 | 291 | #define MEM 0 |
@@ -381,24 +381,24 @@ struct res_needed { | |||
381 | 381 | ||
382 | /* functions */ | 382 | /* functions */ |
383 | 383 | ||
384 | extern int ibmphp_rsrc_init (void); | 384 | int ibmphp_rsrc_init(void); |
385 | extern int ibmphp_add_resource (struct resource_node *); | 385 | int ibmphp_add_resource(struct resource_node *); |
386 | extern int ibmphp_remove_resource (struct resource_node *); | 386 | int ibmphp_remove_resource(struct resource_node *); |
387 | extern int ibmphp_find_resource (struct bus_node *, u32, struct resource_node **, int); | 387 | int ibmphp_find_resource(struct bus_node *, u32, struct resource_node **, int); |
388 | extern int ibmphp_check_resource (struct resource_node *, u8); | 388 | int ibmphp_check_resource(struct resource_node *, u8); |
389 | extern int ibmphp_remove_bus (struct bus_node *, u8); | 389 | int ibmphp_remove_bus(struct bus_node *, u8); |
390 | extern void ibmphp_free_resources (void); | 390 | void ibmphp_free_resources(void); |
391 | extern int ibmphp_add_pfmem_from_mem (struct resource_node *); | 391 | int ibmphp_add_pfmem_from_mem(struct resource_node *); |
392 | extern struct bus_node *ibmphp_find_res_bus (u8); | 392 | struct bus_node *ibmphp_find_res_bus(u8); |
393 | extern void ibmphp_print_test (void); /* for debugging purposes */ | 393 | void ibmphp_print_test(void); /* for debugging purposes */ |
394 | 394 | ||
395 | extern void ibmphp_hpc_initvars (void); | 395 | void ibmphp_hpc_initvars(void); |
396 | extern int ibmphp_hpc_readslot (struct slot *, u8, u8 *); | 396 | int ibmphp_hpc_readslot(struct slot *, u8, u8 *); |
397 | extern int ibmphp_hpc_writeslot (struct slot *, u8); | 397 | int ibmphp_hpc_writeslot(struct slot *, u8); |
398 | extern void ibmphp_lock_operations (void); | 398 | void ibmphp_lock_operations(void); |
399 | extern void ibmphp_unlock_operations (void); | 399 | void ibmphp_unlock_operations(void); |
400 | extern int ibmphp_hpc_start_poll_thread (void); | 400 | int ibmphp_hpc_start_poll_thread(void); |
401 | extern void ibmphp_hpc_stop_poll_thread (void); | 401 | void ibmphp_hpc_stop_poll_thread(void); |
402 | 402 | ||
403 | //---------------------------------------------------------------------------- | 403 | //---------------------------------------------------------------------------- |
404 | 404 | ||
@@ -749,11 +749,11 @@ struct controller { | |||
749 | 749 | ||
750 | /* Functions */ | 750 | /* Functions */ |
751 | 751 | ||
752 | extern int ibmphp_init_devno (struct slot **); /* This function is called from EBDA, so we need it not be static */ | 752 | int ibmphp_init_devno(struct slot **); /* This function is called from EBDA, so we need it not be static */ |
753 | extern int ibmphp_do_disable_slot (struct slot *slot_cur); | 753 | int ibmphp_do_disable_slot(struct slot *slot_cur); |
754 | extern int ibmphp_update_slot_info (struct slot *); /* This function is called from HPC, so we need it to not be be static */ | 754 | int ibmphp_update_slot_info(struct slot *); /* This function is called from HPC, so we need it to not be be static */ |
755 | extern int ibmphp_configure_card (struct pci_func *, u8); | 755 | int ibmphp_configure_card(struct pci_func *, u8); |
756 | extern int ibmphp_unconfigure_card (struct slot **, int); | 756 | int ibmphp_unconfigure_card(struct slot **, int); |
757 | extern struct hotplug_slot_ops ibmphp_hotplug_slot_ops; | 757 | extern struct hotplug_slot_ops ibmphp_hotplug_slot_ops; |
758 | 758 | ||
759 | #endif //__IBMPHP_H | 759 | #endif //__IBMPHP_H |