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/pciehp.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/pciehp.h')
-rw-r--r-- | drivers/pci/hotplug/pciehp.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/drivers/pci/hotplug/pciehp.h b/drivers/pci/hotplug/pciehp.h index 2c113de94323..7fb326983ed6 100644 --- a/drivers/pci/hotplug/pciehp.h +++ b/drivers/pci/hotplug/pciehp.h | |||
@@ -127,15 +127,15 @@ struct controller { | |||
127 | #define NO_CMD_CMPL(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_NCCS) | 127 | #define NO_CMD_CMPL(ctrl) ((ctrl)->slot_cap & PCI_EXP_SLTCAP_NCCS) |
128 | #define PSN(ctrl) ((ctrl)->slot_cap >> 19) | 128 | #define PSN(ctrl) ((ctrl)->slot_cap >> 19) |
129 | 129 | ||
130 | extern int pciehp_sysfs_enable_slot(struct slot *slot); | 130 | int pciehp_sysfs_enable_slot(struct slot *slot); |
131 | extern int pciehp_sysfs_disable_slot(struct slot *slot); | 131 | int pciehp_sysfs_disable_slot(struct slot *slot); |
132 | extern u8 pciehp_handle_attention_button(struct slot *p_slot); | 132 | u8 pciehp_handle_attention_button(struct slot *p_slot); |
133 | extern u8 pciehp_handle_switch_change(struct slot *p_slot); | 133 | u8 pciehp_handle_switch_change(struct slot *p_slot); |
134 | extern u8 pciehp_handle_presence_change(struct slot *p_slot); | 134 | u8 pciehp_handle_presence_change(struct slot *p_slot); |
135 | extern u8 pciehp_handle_power_fault(struct slot *p_slot); | 135 | u8 pciehp_handle_power_fault(struct slot *p_slot); |
136 | extern int pciehp_configure_device(struct slot *p_slot); | 136 | int pciehp_configure_device(struct slot *p_slot); |
137 | extern int pciehp_unconfigure_device(struct slot *p_slot); | 137 | int pciehp_unconfigure_device(struct slot *p_slot); |
138 | extern void pciehp_queue_pushbutton_work(struct work_struct *work); | 138 | void pciehp_queue_pushbutton_work(struct work_struct *work); |
139 | struct controller *pcie_init(struct pcie_device *dev); | 139 | struct controller *pcie_init(struct pcie_device *dev); |
140 | int pcie_init_notification(struct controller *ctrl); | 140 | int pcie_init_notification(struct controller *ctrl); |
141 | int pciehp_enable_slot(struct slot *p_slot); | 141 | int pciehp_enable_slot(struct slot *p_slot); |
@@ -166,8 +166,8 @@ static inline const char *slot_name(struct slot *slot) | |||
166 | #include <acpi/acpi_bus.h> | 166 | #include <acpi/acpi_bus.h> |
167 | #include <linux/pci-acpi.h> | 167 | #include <linux/pci-acpi.h> |
168 | 168 | ||
169 | extern void __init pciehp_acpi_slot_detection_init(void); | 169 | void __init pciehp_acpi_slot_detection_init(void); |
170 | extern int pciehp_acpi_slot_detection_check(struct pci_dev *dev); | 170 | int pciehp_acpi_slot_detection_check(struct pci_dev *dev); |
171 | 171 | ||
172 | static inline void pciehp_firmware_init(void) | 172 | static inline void pciehp_firmware_init(void) |
173 | { | 173 | { |