@@ -404,50 +404,44 @@ struct resource_lists {
404404
405405
406406/* debugfs functions for the hotplug controller info */
407- extern void cpqhp_initialize_debugfs (void );
408- extern void cpqhp_shutdown_debugfs (void );
409- extern void cpqhp_create_debugfs_files (struct controller * ctrl );
410- extern void cpqhp_remove_debugfs_files (struct controller * ctrl );
407+ void cpqhp_initialize_debugfs (void );
408+ void cpqhp_shutdown_debugfs (void );
409+ void cpqhp_create_debugfs_files (struct controller * ctrl );
410+ void cpqhp_remove_debugfs_files (struct controller * ctrl );
411411
412412/* controller functions */
413- extern void cpqhp_pushbutton_thread (unsigned long event_pointer );
414- extern irqreturn_t cpqhp_ctrl_intr (int IRQ , void * data );
415- extern int cpqhp_find_available_resources (struct controller * ctrl ,
416- void __iomem * rom_start );
417- extern int cpqhp_event_start_thread (void );
418- extern void cpqhp_event_stop_thread (void );
419- extern struct pci_func * cpqhp_slot_create (unsigned char busnumber );
420- extern struct pci_func * cpqhp_slot_find (unsigned char bus , unsigned char device ,
421- unsigned char index );
422- extern int cpqhp_process_SI (struct controller * ctrl , struct pci_func * func );
423- extern int cpqhp_process_SS (struct controller * ctrl , struct pci_func * func );
424- extern int cpqhp_hardware_test (struct controller * ctrl , int test_num );
413+ void cpqhp_pushbutton_thread (unsigned long event_pointer );
414+ irqreturn_t cpqhp_ctrl_intr (int IRQ , void * data );
415+ int cpqhp_find_available_resources (struct controller * ctrl ,
416+ void __iomem * rom_start );
417+ int cpqhp_event_start_thread (void );
418+ void cpqhp_event_stop_thread (void );
419+ struct pci_func * cpqhp_slot_create (unsigned char busnumber );
420+ struct pci_func * cpqhp_slot_find (unsigned char bus , unsigned char device ,
421+ unsigned char index );
422+ int cpqhp_process_SI (struct controller * ctrl , struct pci_func * func );
423+ int cpqhp_process_SS (struct controller * ctrl , struct pci_func * func );
424+ int cpqhp_hardware_test (struct controller * ctrl , int test_num );
425425
426426/* resource functions */
427- extern int cpqhp_resource_sort_and_combine (struct pci_resource * * head );
427+ int cpqhp_resource_sort_and_combine (struct pci_resource * * head );
428428
429429/* pci functions */
430- extern int cpqhp_set_irq (u8 bus_num , u8 dev_num , u8 int_pin , u8 irq_num );
431- extern int cpqhp_get_bus_dev (struct controller * ctrl , u8 * bus_num , u8 * dev_num ,
432- u8 slot );
433- extern int cpqhp_save_config (struct controller * ctrl , int busnumber ,
434- int is_hot_plug );
435- extern int cpqhp_save_base_addr_length (struct controller * ctrl ,
436- struct pci_func * func );
437- extern int cpqhp_save_used_resources (struct controller * ctrl ,
438- struct pci_func * func );
439- extern int cpqhp_configure_board (struct controller * ctrl ,
440- struct pci_func * func );
441- extern int cpqhp_save_slot_config (struct controller * ctrl ,
442- struct pci_func * new_slot );
443- extern int cpqhp_valid_replace (struct controller * ctrl , struct pci_func * func );
444- extern void cpqhp_destroy_board_resources (struct pci_func * func );
445- extern int cpqhp_return_board_resources (struct pci_func * func ,
446- struct resource_lists * resources );
447- extern void cpqhp_destroy_resource_list (struct resource_lists * resources );
448- extern int cpqhp_configure_device (struct controller * ctrl ,
449- struct pci_func * func );
450- extern int cpqhp_unconfigure_device (struct pci_func * func );
430+ int cpqhp_set_irq (u8 bus_num , u8 dev_num , u8 int_pin , u8 irq_num );
431+ int cpqhp_get_bus_dev (struct controller * ctrl , u8 * bus_num , u8 * dev_num ,
432+ u8 slot );
433+ int cpqhp_save_config (struct controller * ctrl , int busnumber , int is_hot_plug );
434+ int cpqhp_save_base_addr_length (struct controller * ctrl , struct pci_func * func );
435+ int cpqhp_save_used_resources (struct controller * ctrl , struct pci_func * func );
436+ int cpqhp_configure_board (struct controller * ctrl , struct pci_func * func );
437+ int cpqhp_save_slot_config (struct controller * ctrl , struct pci_func * new_slot );
438+ int cpqhp_valid_replace (struct controller * ctrl , struct pci_func * func );
439+ void cpqhp_destroy_board_resources (struct pci_func * func );
440+ int cpqhp_return_board_resources (struct pci_func * func ,
441+ struct resource_lists * resources );
442+ void cpqhp_destroy_resource_list (struct resource_lists * resources );
443+ int cpqhp_configure_device (struct controller * ctrl , struct pci_func * func );
444+ int cpqhp_unconfigure_device (struct pci_func * func );
451445
452446/* Global variables */
453447extern int cpqhp_debug ;
0 commit comments