diff options
author | akpm@linux-foundation.org <akpm@linux-foundation.org> | 2009-02-03 18:45:26 -0500 |
---|---|---|
committer | Jesse Barnes <jbarnes@hobbes.lan> | 2009-03-19 22:29:35 -0400 |
commit | c48f1670f42b71f39f4a3bfba01ffb691cc9206c (patch) | |
tree | a407190fd3141b9d0bbb4a861f334f0bb4be6143 /include/linux/pci.h | |
parent | b5fbf53324f65646154e172af350674d5a2a1629 (diff) |
PCI: constify pci_bus_add_devices()
drivers/pci/hotplug/fakephp.c:283: warning: passing argument 1 of 'pci_bus_add_devices' discards qualifiers from pointer target type
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index b5d6d0e0f1cb..a1af2fe00639 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -528,7 +528,7 @@ void pcibios_update_irq(struct pci_dev *, int irq); | |||
528 | /* Generic PCI functions used internally */ | 528 | /* Generic PCI functions used internally */ |
529 | 529 | ||
530 | extern struct pci_bus *pci_find_bus(int domain, int busnr); | 530 | extern struct pci_bus *pci_find_bus(int domain, int busnr); |
531 | void pci_bus_add_devices(struct pci_bus *bus); | 531 | void pci_bus_add_devices(const struct pci_bus *bus); |
532 | struct pci_bus *pci_scan_bus_parented(struct device *parent, int bus, | 532 | struct pci_bus *pci_scan_bus_parented(struct device *parent, int bus, |
533 | struct pci_ops *ops, void *sysdata); | 533 | struct pci_ops *ops, void *sysdata); |
534 | static inline struct pci_bus * __devinit pci_scan_bus(int bus, struct pci_ops *ops, | 534 | static inline struct pci_bus * __devinit pci_scan_bus(int bus, struct pci_ops *ops, |