diff options
Diffstat (limited to 'drivers/pci/hotplug/rpaphp.h')
-rw-r--r-- | drivers/pci/hotplug/rpaphp.h | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/drivers/pci/hotplug/rpaphp.h b/drivers/pci/hotplug/rpaphp.h index 57ea71a7bda5..310b6186c0e5 100644 --- a/drivers/pci/hotplug/rpaphp.h +++ b/drivers/pci/hotplug/rpaphp.h | |||
@@ -88,16 +88,10 @@ extern int num_slots; | |||
88 | /* function prototypes */ | 88 | /* function prototypes */ |
89 | 89 | ||
90 | /* rpaphp_pci.c */ | 90 | /* rpaphp_pci.c */ |
91 | extern struct pci_bus *rpaphp_find_pci_bus(struct device_node *dn); | ||
92 | extern int rpaphp_claim_resource(struct pci_dev *dev, int resource); | ||
93 | extern int rpaphp_enable_pci_slot(struct slot *slot); | 91 | extern int rpaphp_enable_pci_slot(struct slot *slot); |
94 | extern int register_pci_slot(struct slot *slot); | 92 | extern int rpaphp_register_pci_slot(struct slot *slot); |
95 | extern int rpaphp_get_pci_adapter_status(struct slot *slot, int is_init, u8 * value); | 93 | extern int rpaphp_get_pci_adapter_status(struct slot *slot, int is_init, u8 * value); |
96 | extern void rpaphp_init_new_devs(struct pci_bus *bus); | 94 | extern int rpaphp_get_sensor_state(struct slot *slot, int *state); |
97 | extern void rpaphp_eeh_init_nodes(struct device_node *dn); | ||
98 | |||
99 | extern int rpaphp_config_pci_adapter(struct pci_bus *bus); | ||
100 | extern int rpaphp_unconfig_pci_adapter(struct pci_bus *bus); | ||
101 | 95 | ||
102 | /* rpaphp_core.c */ | 96 | /* rpaphp_core.c */ |
103 | extern int rpaphp_add_slot(struct device_node *dn); | 97 | extern int rpaphp_add_slot(struct device_node *dn); |
@@ -108,8 +102,8 @@ extern int rpaphp_get_drc_props(struct device_node *dn, int *drc_index, | |||
108 | /* rpaphp_slot.c */ | 102 | /* rpaphp_slot.c */ |
109 | extern void dealloc_slot_struct(struct slot *slot); | 103 | extern void dealloc_slot_struct(struct slot *slot); |
110 | extern struct slot *alloc_slot_struct(struct device_node *dn, int drc_index, char *drc_name, int power_domain); | 104 | extern struct slot *alloc_slot_struct(struct device_node *dn, int drc_index, char *drc_name, int power_domain); |
111 | extern int register_slot(struct slot *slot); | 105 | extern int rpaphp_register_slot(struct slot *slot); |
112 | extern int deregister_slot(struct slot *slot); | 106 | extern int rpaphp_deregister_slot(struct slot *slot); |
113 | extern int rpaphp_get_power_status(struct slot *slot, u8 * value); | 107 | extern int rpaphp_get_power_status(struct slot *slot, u8 * value); |
114 | extern int rpaphp_set_attention_status(struct slot *slot, u8 status); | 108 | extern int rpaphp_set_attention_status(struct slot *slot, u8 status); |
115 | 109 | ||