diff options
-rw-r--r-- | drivers/pci/probe.c | 2 | ||||
-rw-r--r-- | include/linux/pci.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 3c9834d80850..adfad4fd6a13 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c | |||
@@ -717,7 +717,7 @@ static void pci_release_dev(struct device *dev) | |||
717 | * reading the dword at 0x100 which must either be 0 or a valid extended | 717 | * reading the dword at 0x100 which must either be 0 or a valid extended |
718 | * capability header. | 718 | * capability header. |
719 | */ | 719 | */ |
720 | static int pci_cfg_space_size(struct pci_dev *dev) | 720 | int pci_cfg_space_size(struct pci_dev *dev) |
721 | { | 721 | { |
722 | int pos; | 722 | int pos; |
723 | u32 status; | 723 | u32 status; |
diff --git a/include/linux/pci.h b/include/linux/pci.h index b32f70fe2dbd..d0e003926744 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 | ||