diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2009-02-18 13:44:29 -0500 |
---|---|---|
committer | Jesse Barnes <jbarnes@hobbes.lan> | 2009-03-19 22:29:35 -0400 |
commit | ea7415512a07add2b09c070c9a5d1950833cf9b3 (patch) | |
tree | 1c0d7468f57d38f74f4649cb9f4655b1937cf2a0 /include/linux/pci.h | |
parent | c48f1670f42b71f39f4a3bfba01ffb691cc9206c (diff) |
PCI: constify pci_bus_assign_resources()
drivers/pci/hotplug/fakephp.c: In function 'pci_rescan_bus':
drivers/pci/hotplug/fakephp.c:271: warning: passing argument 1 of 'pci_bus_assign_resources' 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 a1af2fe00639..7baf2a5db12a 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -708,7 +708,7 @@ ssize_t pci_write_vpd(struct pci_dev *dev, loff_t pos, size_t count, const void | |||
708 | int pci_vpd_truncate(struct pci_dev *dev, size_t size); | 708 | int pci_vpd_truncate(struct pci_dev *dev, size_t size); |
709 | 709 | ||
710 | /* Helper functions for low-level code (drivers/pci/setup-[bus,res].c) */ | 710 | /* Helper functions for low-level code (drivers/pci/setup-[bus,res].c) */ |
711 | void pci_bus_assign_resources(struct pci_bus *bus); | 711 | void pci_bus_assign_resources(const struct pci_bus *bus); |
712 | void pci_bus_size_bridges(struct pci_bus *bus); | 712 | void pci_bus_size_bridges(struct pci_bus *bus); |
713 | int pci_claim_resource(struct pci_dev *, int); | 713 | int pci_claim_resource(struct pci_dev *, int); |
714 | void pci_assign_unassigned_resources(void); | 714 | void pci_assign_unassigned_resources(void); |