diff options
author | linas@austin.ibm.com <linas@austin.ibm.com> | 2006-01-12 19:31:01 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-31 21:00:13 -0500 |
commit | f6afbad82c6b7bab0198442592b110341fb419ba (patch) | |
tree | 6a444ff2b09cc08e93f6f2825b6cfc5e507a029e /drivers/pci/hotplug/rpaphp.h | |
parent | e06b80b78db96ca272db4ec0b26ce1092a1a9704 (diff) |
[PATCH] powerpc/PCI hotplug: cleanup: add prefix
Minor cleanup. Add the prefix rpaphp_* to several generic-sounding routines.
Remove rpaphp_remove_slot(), which is a one-liner.
Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Acked-by: John Rose <johnrose@austin.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/hotplug/rpaphp.h')
-rw-r--r-- | drivers/pci/hotplug/rpaphp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pci/hotplug/rpaphp.h b/drivers/pci/hotplug/rpaphp.h index 095c9aacaa16..310b6186c0e5 100644 --- a/drivers/pci/hotplug/rpaphp.h +++ b/drivers/pci/hotplug/rpaphp.h | |||
@@ -89,7 +89,7 @@ extern int num_slots; | |||
89 | 89 | ||
90 | /* rpaphp_pci.c */ | 90 | /* rpaphp_pci.c */ |
91 | extern int rpaphp_enable_pci_slot(struct slot *slot); | 91 | extern int rpaphp_enable_pci_slot(struct slot *slot); |
92 | extern int register_pci_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); | 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); | 94 | extern int rpaphp_get_sensor_state(struct slot *slot, int *state); |
95 | 95 | ||
@@ -102,8 +102,8 @@ extern int rpaphp_get_drc_props(struct device_node *dn, int *drc_index, | |||
102 | /* rpaphp_slot.c */ | 102 | /* rpaphp_slot.c */ |
103 | extern void dealloc_slot_struct(struct slot *slot); | 103 | 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); | 104 | extern struct slot *alloc_slot_struct(struct device_node *dn, int drc_index, char *drc_name, int power_domain); |
105 | extern int register_slot(struct slot *slot); | 105 | extern int rpaphp_register_slot(struct slot *slot); |
106 | extern int deregister_slot(struct slot *slot); | 106 | extern int rpaphp_deregister_slot(struct slot *slot); |
107 | extern int rpaphp_get_power_status(struct slot *slot, u8 * value); | 107 | extern int rpaphp_get_power_status(struct slot *slot, u8 * value); |
108 | extern int rpaphp_set_attention_status(struct slot *slot, u8 status); | 108 | extern int rpaphp_set_attention_status(struct slot *slot, u8 status); |
109 | 109 | ||