Annotation of /trunk/pciutils/patches/pciutils-2.2.0-scan.patch
Parent Directory | Revision Log
Revision 153 -
(hide annotations)
(download)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 277 byte(s)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 277 byte(s)
-import
1 | niro | 153 | --- 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 * |