PCI: check mmap range of /proc/bus/pci files too
[deliverable/linux.git] / drivers / pci / pci-sysfs.c
index c88485860a0ad3dfff19485a417aaf112b051f08..388440e0d22228ac62ef39afd688dc1cc566abb6 100644 (file)
@@ -569,7 +569,7 @@ void pci_remove_legacy_files(struct pci_bus *b)
 
 #ifdef HAVE_PCI_MMAP
 
-static int pci_mmap_fits(struct pci_dev *pdev, int resno, struct vm_area_struct *vma)
+int pci_mmap_fits(struct pci_dev *pdev, int resno, struct vm_area_struct *vma)
 {
        unsigned long nr, start, size;
 
This page took 0.030906 seconds and 5 git commands to generate.