diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2005-12-13 02:09:16 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-09 15:13:19 -0500 |
commit | ac7dc65ac0b945270548414491efa9c4357417d9 (patch) | |
tree | 62fb38b349d00d5f3956ab312d175fe33807ff70 /include/linux/pci.h | |
parent | 498879417756effe6dc385ee04645a83d724fdef (diff) |
[PATCH] PCI: Export pci_cfg_space_size
The powerpc PCI code sets up the PCI tree without doing config space
accesses in most cases, from the firmware tree. However, it still wants
to call pci_cfg_space_size() under some conditions, thus it needs to
be made non-static (though I don't see a point to export it to modules).
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r-- | include/linux/pci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index b32f70fe2db..d0e00392674 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -449,6 +449,7 @@ int pci_scan_bridge(struct pci_bus *bus, struct pci_dev * dev, int max, int pass | |||
449 | 449 | ||
450 | void pci_walk_bus(struct pci_bus *top, void (*cb)(struct pci_dev *, void *), | 450 | void pci_walk_bus(struct pci_bus *top, void (*cb)(struct pci_dev *, void *), |
451 | void *userdata); | 451 | void *userdata); |
452 | int pci_cfg_space_size(struct pci_dev *dev); | ||
452 | 453 | ||
453 | /* kmem_cache style wrapper around pci_alloc_consistent() */ | 454 | /* kmem_cache style wrapper around pci_alloc_consistent() */ |
454 | 455 | ||