diff options
Diffstat (limited to 'drivers/pci/hotplug/shpchp.h')
-rw-r--r-- | drivers/pci/hotplug/shpchp.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/drivers/pci/hotplug/shpchp.h b/drivers/pci/hotplug/shpchp.h index b849f995075a..e260f207a90e 100644 --- a/drivers/pci/hotplug/shpchp.h +++ b/drivers/pci/hotplug/shpchp.h | |||
@@ -168,19 +168,19 @@ struct controller { | |||
168 | #define WRONG_BUS_FREQUENCY 0x0000000D | 168 | #define WRONG_BUS_FREQUENCY 0x0000000D |
169 | #define POWER_FAILURE 0x0000000E | 169 | #define POWER_FAILURE 0x0000000E |
170 | 170 | ||
171 | extern int __must_check shpchp_create_ctrl_files(struct controller *ctrl); | 171 | int __must_check shpchp_create_ctrl_files(struct controller *ctrl); |
172 | extern void shpchp_remove_ctrl_files(struct controller *ctrl); | 172 | void shpchp_remove_ctrl_files(struct controller *ctrl); |
173 | extern int shpchp_sysfs_enable_slot(struct slot *slot); | 173 | int shpchp_sysfs_enable_slot(struct slot *slot); |
174 | extern int shpchp_sysfs_disable_slot(struct slot *slot); | 174 | int shpchp_sysfs_disable_slot(struct slot *slot); |
175 | extern u8 shpchp_handle_attention_button(u8 hp_slot, struct controller *ctrl); | 175 | u8 shpchp_handle_attention_button(u8 hp_slot, struct controller *ctrl); |
176 | extern u8 shpchp_handle_switch_change(u8 hp_slot, struct controller *ctrl); | 176 | u8 shpchp_handle_switch_change(u8 hp_slot, struct controller *ctrl); |
177 | extern u8 shpchp_handle_presence_change(u8 hp_slot, struct controller *ctrl); | 177 | u8 shpchp_handle_presence_change(u8 hp_slot, struct controller *ctrl); |
178 | extern u8 shpchp_handle_power_fault(u8 hp_slot, struct controller *ctrl); | 178 | u8 shpchp_handle_power_fault(u8 hp_slot, struct controller *ctrl); |
179 | extern int shpchp_configure_device(struct slot *p_slot); | 179 | int shpchp_configure_device(struct slot *p_slot); |
180 | extern int shpchp_unconfigure_device(struct slot *p_slot); | 180 | int shpchp_unconfigure_device(struct slot *p_slot); |
181 | extern void cleanup_slots(struct controller *ctrl); | 181 | void cleanup_slots(struct controller *ctrl); |
182 | extern void shpchp_queue_pushbutton_work(struct work_struct *work); | 182 | void shpchp_queue_pushbutton_work(struct work_struct *work); |
183 | extern int shpc_init( struct controller *ctrl, struct pci_dev *pdev); | 183 | int shpc_init( struct controller *ctrl, struct pci_dev *pdev); |
184 | 184 | ||
185 | static inline const char *slot_name(struct slot *slot) | 185 | static inline const char *slot_name(struct slot *slot) |
186 | { | 186 | { |