aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/shpchp.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/hotplug/shpchp.h')
-rw-r--r--drivers/pci/hotplug/shpchp.h26
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
171extern int __must_check shpchp_create_ctrl_files(struct controller *ctrl); 171int __must_check shpchp_create_ctrl_files(struct controller *ctrl);
172extern void shpchp_remove_ctrl_files(struct controller *ctrl); 172void shpchp_remove_ctrl_files(struct controller *ctrl);
173extern int shpchp_sysfs_enable_slot(struct slot *slot); 173int shpchp_sysfs_enable_slot(struct slot *slot);
174extern int shpchp_sysfs_disable_slot(struct slot *slot); 174int shpchp_sysfs_disable_slot(struct slot *slot);
175extern u8 shpchp_handle_attention_button(u8 hp_slot, struct controller *ctrl); 175u8 shpchp_handle_attention_button(u8 hp_slot, struct controller *ctrl);
176extern u8 shpchp_handle_switch_change(u8 hp_slot, struct controller *ctrl); 176u8 shpchp_handle_switch_change(u8 hp_slot, struct controller *ctrl);
177extern u8 shpchp_handle_presence_change(u8 hp_slot, struct controller *ctrl); 177u8 shpchp_handle_presence_change(u8 hp_slot, struct controller *ctrl);
178extern u8 shpchp_handle_power_fault(u8 hp_slot, struct controller *ctrl); 178u8 shpchp_handle_power_fault(u8 hp_slot, struct controller *ctrl);
179extern int shpchp_configure_device(struct slot *p_slot); 179int shpchp_configure_device(struct slot *p_slot);
180extern int shpchp_unconfigure_device(struct slot *p_slot); 180int shpchp_unconfigure_device(struct slot *p_slot);
181extern void cleanup_slots(struct controller *ctrl); 181void cleanup_slots(struct controller *ctrl);
182extern void shpchp_queue_pushbutton_work(struct work_struct *work); 182void shpchp_queue_pushbutton_work(struct work_struct *work);
183extern int shpc_init( struct controller *ctrl, struct pci_dev *pdev); 183int shpc_init( struct controller *ctrl, struct pci_dev *pdev);
184 184
185static inline const char *slot_name(struct slot *slot) 185static inline const char *slot_name(struct slot *slot)
186{ 186{