aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/rpaphp.h
diff options
context:
space:
mode:
authorJohn Rose <johnrose@austin.ibm.com>2005-07-25 11:16:58 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-09-08 17:57:23 -0400
commit940903c5a5a906c622a79b3101586deb1a1b3480 (patch)
tree9bdeaf31e715e6f59f4202e7e8552df6bc794d94 /drivers/pci/hotplug/rpaphp.h
parent0945cd5f908a09ad99bf42d7ded16f26f24f317d (diff)
[PATCH] PCI Hotplug: rpaphp: Export slot enable
This patch exports rpaphp_config_pci_adapter() for use by the rpadlpar module. It also changes this function by removing any dependencies on struct slot. The patch also changes the RPA DLPAR-add path to enable newly-added slots in a separate step from that which registers them as hotplug slots. Signed-off-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/hotplug/rpaphp.h b/drivers/pci/hotplug/rpaphp.h
index 8ecff0b950e8..064a0d66e3c5 100644
--- a/drivers/pci/hotplug/rpaphp.h
+++ b/drivers/pci/hotplug/rpaphp.h
@@ -98,6 +98,7 @@ extern int rpaphp_enable_pci_slot(struct slot *slot);
98extern int register_pci_slot(struct slot *slot); 98extern int register_pci_slot(struct slot *slot);
99extern int rpaphp_unconfig_pci_adapter(struct slot *slot); 99extern int rpaphp_unconfig_pci_adapter(struct slot *slot);
100extern int rpaphp_get_pci_adapter_status(struct slot *slot, int is_init, u8 * value); 100extern int rpaphp_get_pci_adapter_status(struct slot *slot, int is_init, u8 * value);
101extern int rpaphp_config_pci_adapter(struct pci_bus *bus);
101 102
102/* rpaphp_core.c */ 103/* rpaphp_core.c */
103extern int rpaphp_add_slot(struct device_node *dn); 104extern int rpaphp_add_slot(struct device_node *dn);