diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2013-04-12 14:02:59 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-04-17 12:21:17 -0400 |
commit | f39d5b72913e2a9ff00ba5ab145ee05a888b1286 (patch) | |
tree | bf037ca60a3724a7636166093b4b2ede4aeaf464 /drivers/pci/hotplug/cpci_hotplug.h | |
parent | 9fc9eea09f518b9bbdc0a14ef668698c913ba614 (diff) |
PCI: Remove "extern" from function declarations
We had an inconsistent mix of using and omitting the "extern" keyword
on function declarations in header files. This removes them all.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/hotplug/cpci_hotplug.h')
-rw-r--r-- | drivers/pci/hotplug/cpci_hotplug.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/drivers/pci/hotplug/cpci_hotplug.h b/drivers/pci/hotplug/cpci_hotplug.h index 3ae19f774cb3..1356211431d0 100644 --- a/drivers/pci/hotplug/cpci_hotplug.h +++ b/drivers/pci/hotplug/cpci_hotplug.h | |||
@@ -75,29 +75,29 @@ static inline const char *slot_name(struct slot *slot) | |||
75 | return hotplug_slot_name(slot->hotplug_slot); | 75 | return hotplug_slot_name(slot->hotplug_slot); |
76 | } | 76 | } |
77 | 77 | ||
78 | extern int cpci_hp_register_controller(struct cpci_hp_controller *controller); | 78 | int cpci_hp_register_controller(struct cpci_hp_controller *controller); |
79 | extern int cpci_hp_unregister_controller(struct cpci_hp_controller *controller); | 79 | int cpci_hp_unregister_controller(struct cpci_hp_controller *controller); |
80 | extern int cpci_hp_register_bus(struct pci_bus *bus, u8 first, u8 last); | 80 | int cpci_hp_register_bus(struct pci_bus *bus, u8 first, u8 last); |
81 | extern int cpci_hp_unregister_bus(struct pci_bus *bus); | 81 | int cpci_hp_unregister_bus(struct pci_bus *bus); |
82 | extern int cpci_hp_start(void); | 82 | int cpci_hp_start(void); |
83 | extern int cpci_hp_stop(void); | 83 | int cpci_hp_stop(void); |
84 | 84 | ||
85 | /* | 85 | /* |
86 | * Internal function prototypes, these functions should not be used by | 86 | * Internal function prototypes, these functions should not be used by |
87 | * board/chassis drivers. | 87 | * board/chassis drivers. |
88 | */ | 88 | */ |
89 | extern u8 cpci_get_attention_status(struct slot *slot); | 89 | u8 cpci_get_attention_status(struct slot *slot); |
90 | extern u8 cpci_get_latch_status(struct slot *slot); | 90 | u8 cpci_get_latch_status(struct slot *slot); |
91 | extern u8 cpci_get_adapter_status(struct slot *slot); | 91 | u8 cpci_get_adapter_status(struct slot *slot); |
92 | extern u16 cpci_get_hs_csr(struct slot * slot); | 92 | u16 cpci_get_hs_csr(struct slot * slot); |
93 | extern int cpci_set_attention_status(struct slot *slot, int status); | 93 | int cpci_set_attention_status(struct slot *slot, int status); |
94 | extern int cpci_check_and_clear_ins(struct slot * slot); | 94 | int cpci_check_and_clear_ins(struct slot * slot); |
95 | extern int cpci_check_ext(struct slot * slot); | 95 | int cpci_check_ext(struct slot * slot); |
96 | extern int cpci_clear_ext(struct slot * slot); | 96 | int cpci_clear_ext(struct slot * slot); |
97 | extern int cpci_led_on(struct slot * slot); | 97 | int cpci_led_on(struct slot * slot); |
98 | extern int cpci_led_off(struct slot * slot); | 98 | int cpci_led_off(struct slot * slot); |
99 | extern int cpci_configure_slot(struct slot *slot); | 99 | int cpci_configure_slot(struct slot *slot); |
100 | extern int cpci_unconfigure_slot(struct slot *slot); | 100 | int cpci_unconfigure_slot(struct slot *slot); |
101 | 101 | ||
102 | #ifdef CONFIG_HOTPLUG_PCI_CPCI | 102 | #ifdef CONFIG_HOTPLUG_PCI_CPCI |
103 | int cpci_hotplug_init(int debug); | 103 | int cpci_hotplug_init(int debug); |