summaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/rpaphp.h
diff options
context:
space:
mode:
authorJohn Rose <johnrose@austin.ibm.com>2005-07-25 10:16:53 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2005-09-08 14:57:23 -0700
commit0945cd5f908a09ad99bf42d7ded16f26f24f317d (patch)
tree83ca671af8a9e2560d8bed3c63fbffa59d96af58 /drivers/pci/hotplug/rpaphp.h
parent9c209c919df95f83aa042b3352c43841ad15a02b (diff)
downloadop-kernel-dev-0945cd5f908a09ad99bf42d7ded16f26f24f317d.zip
op-kernel-dev-0945cd5f908a09ad99bf42d7ded16f26f24f317d.tar.gz
[PATCH] PCI Hotplug: rpaphp: Remove rpaphp_find_pci
The rpaphp module currently uses a fragile method to find a pci device by its device node. This function is unnecessary, so this patch scraps it. 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, 0 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/rpaphp.h b/drivers/pci/hotplug/rpaphp.h
index 9f050fd..8ecff0b 100644
--- a/drivers/pci/hotplug/rpaphp.h
+++ b/drivers/pci/hotplug/rpaphp.h
@@ -93,7 +93,6 @@ extern int num_slots;
/* function prototypes */
/* rpaphp_pci.c */
-extern struct pci_dev *rpaphp_find_pci_dev(struct device_node *dn);
extern int rpaphp_claim_resource(struct pci_dev *dev, int resource);
extern int rpaphp_enable_pci_slot(struct slot *slot);
extern int register_pci_slot(struct slot *slot);
OpenPOWER on IntegriCloud