aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/cpci_hotplug.h
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2013-04-12 14:02:59 -0400
committerBjorn Helgaas <bhelgaas@google.com>2013-04-17 12:21:17 -0400
commitf39d5b72913e2a9ff00ba5ab145ee05a888b1286 (patch)
treebf037ca60a3724a7636166093b4b2ede4aeaf464 /drivers/pci/hotplug/cpci_hotplug.h
parent9fc9eea09f518b9bbdc0a14ef668698c913ba614 (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.h36
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
78extern int cpci_hp_register_controller(struct cpci_hp_controller *controller); 78int cpci_hp_register_controller(struct cpci_hp_controller *controller);
79extern int cpci_hp_unregister_controller(struct cpci_hp_controller *controller); 79int cpci_hp_unregister_controller(struct cpci_hp_controller *controller);
80extern int cpci_hp_register_bus(struct pci_bus *bus, u8 first, u8 last); 80int cpci_hp_register_bus(struct pci_bus *bus, u8 first, u8 last);
81extern int cpci_hp_unregister_bus(struct pci_bus *bus); 81int cpci_hp_unregister_bus(struct pci_bus *bus);
82extern int cpci_hp_start(void); 82int cpci_hp_start(void);
83extern int cpci_hp_stop(void); 83int 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 */
89extern u8 cpci_get_attention_status(struct slot *slot); 89u8 cpci_get_attention_status(struct slot *slot);
90extern u8 cpci_get_latch_status(struct slot *slot); 90u8 cpci_get_latch_status(struct slot *slot);
91extern u8 cpci_get_adapter_status(struct slot *slot); 91u8 cpci_get_adapter_status(struct slot *slot);
92extern u16 cpci_get_hs_csr(struct slot * slot); 92u16 cpci_get_hs_csr(struct slot * slot);
93extern int cpci_set_attention_status(struct slot *slot, int status); 93int cpci_set_attention_status(struct slot *slot, int status);
94extern int cpci_check_and_clear_ins(struct slot * slot); 94int cpci_check_and_clear_ins(struct slot * slot);
95extern int cpci_check_ext(struct slot * slot); 95int cpci_check_ext(struct slot * slot);
96extern int cpci_clear_ext(struct slot * slot); 96int cpci_clear_ext(struct slot * slot);
97extern int cpci_led_on(struct slot * slot); 97int cpci_led_on(struct slot * slot);
98extern int cpci_led_off(struct slot * slot); 98int cpci_led_off(struct slot * slot);
99extern int cpci_configure_slot(struct slot *slot); 99int cpci_configure_slot(struct slot *slot);
100extern int cpci_unconfigure_slot(struct slot *slot); 100int cpci_unconfigure_slot(struct slot *slot);
101 101
102#ifdef CONFIG_HOTPLUG_PCI_CPCI 102#ifdef CONFIG_HOTPLUG_PCI_CPCI
103int cpci_hotplug_init(int debug); 103int cpci_hotplug_init(int debug);