Magellan Linux

Contents of /trunk/pciutils/patches/pciutils-2.2.0-scan.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 153 - (show annotations) (download)
Tue May 8 20:52:56 2007 UTC (17 years ago) by niro
File size: 277 byte(s)
-import

1 --- pciutils-2.1.10/lib/access.c.foo Wed Feb 12 15:44:05 2003
2 +++ pciutils-2.1.10/lib/access.c Wed Feb 12 15:44:33 2003
3 @@ -180,7 +180,8 @@
4 void
5 pci_scan_bus(struct pci_access *a)
6 {
7 - a->methods->scan(a);
8 + if (a->methods)
9 + a->methods->scan(a);
10 }
11
12 struct pci_dev *