diff options
Diffstat (limited to 'drivers/pci/hotplug/rpaphp.h')
-rw-r--r-- | drivers/pci/hotplug/rpaphp.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/pci/hotplug/rpaphp.h b/drivers/pci/hotplug/rpaphp.h index 2e7accf0f734..c822a779653f 100644 --- a/drivers/pci/hotplug/rpaphp.h +++ b/drivers/pci/hotplug/rpaphp.h | |||
@@ -83,19 +83,15 @@ struct slot { | |||
83 | 83 | ||
84 | extern struct hotplug_slot_ops rpaphp_hotplug_slot_ops; | 84 | extern struct hotplug_slot_ops rpaphp_hotplug_slot_ops; |
85 | extern struct list_head rpaphp_slot_head; | 85 | extern struct list_head rpaphp_slot_head; |
86 | extern int num_slots; | ||
87 | 86 | ||
88 | /* function prototypes */ | 87 | /* function prototypes */ |
89 | 88 | ||
90 | /* rpaphp_pci.c */ | 89 | /* rpaphp_pci.c */ |
91 | extern int rpaphp_enable_pci_slot(struct slot *slot); | 90 | extern int rpaphp_enable_slot(struct slot *slot); |
92 | extern int rpaphp_register_pci_slot(struct slot *slot); | ||
93 | extern int rpaphp_get_pci_adapter_status(struct slot *slot, int is_init, u8 * value); | ||
94 | extern int rpaphp_get_sensor_state(struct slot *slot, int *state); | 91 | extern int rpaphp_get_sensor_state(struct slot *slot, int *state); |
95 | 92 | ||
96 | /* rpaphp_core.c */ | 93 | /* rpaphp_core.c */ |
97 | extern int rpaphp_add_slot(struct device_node *dn); | 94 | extern int rpaphp_add_slot(struct device_node *dn); |
98 | extern int rpaphp_remove_slot(struct slot *slot); | ||
99 | extern int rpaphp_get_drc_props(struct device_node *dn, int *drc_index, | 95 | extern int rpaphp_get_drc_props(struct device_node *dn, int *drc_index, |
100 | char **drc_name, char **drc_type, int *drc_power_domain); | 96 | char **drc_name, char **drc_type, int *drc_power_domain); |
101 | 97 | ||
@@ -104,7 +100,5 @@ extern void dealloc_slot_struct(struct slot *slot); | |||
104 | extern struct slot *alloc_slot_struct(struct device_node *dn, int drc_index, char *drc_name, int power_domain); | 100 | extern struct slot *alloc_slot_struct(struct device_node *dn, int drc_index, char *drc_name, int power_domain); |
105 | extern int rpaphp_register_slot(struct slot *slot); | 101 | extern int rpaphp_register_slot(struct slot *slot); |
106 | extern int rpaphp_deregister_slot(struct slot *slot); | 102 | extern int rpaphp_deregister_slot(struct slot *slot); |
107 | extern int rpaphp_get_power_status(struct slot *slot, u8 * value); | ||
108 | extern int rpaphp_set_attention_status(struct slot *slot, u8 status); | ||
109 | 103 | ||
110 | #endif /* _PPC64PHP_H */ | 104 | #endif /* _PPC64PHP_H */ |