aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorAlex Chiang <achiang@hp.com>2008-10-20 19:40:47 -0400
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-10-22 19:42:37 -0400
commitd25b7c8d6ba2735602003d75a28894772fe8ad6a (patch)
tree9804e12987fbcee2d03d277c2527670b359748a1 /include/linux
parent1359f2701b96abd9bb69c1273fb995a093b6409a (diff)
PCI: rename pci_update_slot_number to pci_renumber_slot
The GPL exported symbol pci_update_slot_number has been renamed to pci_renumber_slot. Some of the safety checks were unnecessary and were removed. Cc: kristen.c.accardi@intel.com Cc: matthew@wil.cx Acked-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Signed-off-by: Alex Chiang <achiang@hp.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/pci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index ee2fd6304e05..41717ae9807e 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -512,7 +512,7 @@ struct pci_bus *pci_add_new_bus(struct pci_bus *parent, struct pci_dev *dev,
512struct pci_slot *pci_create_slot(struct pci_bus *parent, int slot_nr, 512struct pci_slot *pci_create_slot(struct pci_bus *parent, int slot_nr,
513 const char *name); 513 const char *name);
514void pci_destroy_slot(struct pci_slot *slot); 514void pci_destroy_slot(struct pci_slot *slot);
515void pci_update_slot_number(struct pci_slot *slot, int slot_nr); 515void pci_renumber_slot(struct pci_slot *slot, int slot_nr);
516int pci_scan_slot(struct pci_bus *bus, int devfn); 516int pci_scan_slot(struct pci_bus *bus, int devfn);
517struct pci_dev *pci_scan_single_device(struct pci_bus *bus, int devfn); 517struct pci_dev *pci_scan_single_device(struct pci_bus *bus, int devfn);
518void pci_device_add(struct pci_dev *dev, struct pci_bus *bus); 518void pci_device_add(struct pci_dev *dev, struct pci_bus *bus);