aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/rpaphp.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/hotplug/rpaphp.h')
-rw-r--r--drivers/pci/hotplug/rpaphp.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/pci/hotplug/rpaphp.h b/drivers/pci/hotplug/rpaphp.h
index df5677440a08..3135856e5e1c 100644
--- a/drivers/pci/hotplug/rpaphp.h
+++ b/drivers/pci/hotplug/rpaphp.h
@@ -86,18 +86,18 @@ extern struct list_head rpaphp_slot_head;
86/* function prototypes */ 86/* function prototypes */
87 87
88/* rpaphp_pci.c */ 88/* rpaphp_pci.c */
89extern int rpaphp_enable_slot(struct slot *slot); 89int rpaphp_enable_slot(struct slot *slot);
90extern int rpaphp_get_sensor_state(struct slot *slot, int *state); 90int rpaphp_get_sensor_state(struct slot *slot, int *state);
91 91
92/* rpaphp_core.c */ 92/* rpaphp_core.c */
93extern int rpaphp_add_slot(struct device_node *dn); 93int rpaphp_add_slot(struct device_node *dn);
94extern int rpaphp_get_drc_props(struct device_node *dn, int *drc_index, 94int rpaphp_get_drc_props(struct device_node *dn, int *drc_index,
95 char **drc_name, char **drc_type, int *drc_power_domain); 95 char **drc_name, char **drc_type, int *drc_power_domain);
96 96
97/* rpaphp_slot.c */ 97/* rpaphp_slot.c */
98extern void dealloc_slot_struct(struct slot *slot); 98void dealloc_slot_struct(struct slot *slot);
99extern struct slot *alloc_slot_struct(struct device_node *dn, int drc_index, char *drc_name, int power_domain); 99struct slot *alloc_slot_struct(struct device_node *dn, int drc_index, char *drc_name, int power_domain);
100extern int rpaphp_register_slot(struct slot *slot); 100int rpaphp_register_slot(struct slot *slot);
101extern int rpaphp_deregister_slot(struct slot *slot); 101int rpaphp_deregister_slot(struct slot *slot);
102 102
103#endif /* _PPC64PHP_H */ 103#endif /* _PPC64PHP_H */