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>
This commit is contained in:
parent
9fc9eea09f
commit
f39d5b7291
17 changed files with 275 additions and 285 deletions
|
@ -125,12 +125,12 @@ static inline const char *hotplug_slot_name(const struct hotplug_slot *slot)
|
|||
return pci_slot_name(slot->pci_slot);
|
||||
}
|
||||
|
||||
extern int __pci_hp_register(struct hotplug_slot *slot, struct pci_bus *pbus,
|
||||
int nr, const char *name,
|
||||
struct module *owner, const char *mod_name);
|
||||
extern int pci_hp_deregister(struct hotplug_slot *slot);
|
||||
extern int __must_check pci_hp_change_slot_info (struct hotplug_slot *slot,
|
||||
struct hotplug_slot_info *info);
|
||||
int __pci_hp_register(struct hotplug_slot *slot, struct pci_bus *pbus, int nr,
|
||||
const char *name, struct module *owner,
|
||||
const char *mod_name);
|
||||
int pci_hp_deregister(struct hotplug_slot *slot);
|
||||
int __must_check pci_hp_change_slot_info(struct hotplug_slot *slot,
|
||||
struct hotplug_slot_info *info);
|
||||
|
||||
/* use a define to avoid include chaining to get THIS_MODULE & friends */
|
||||
#define pci_hp_register(slot, pbus, devnr, name) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue