summaryrefslogtreecommitdiffstats
path: root/pci.c
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-08-04 08:10:19 +0000
committerThierry Vignaud <tv@mandriva.org>2007-08-04 08:10:19 +0000
commit99794d92c2b790ac3bfaa1f09a1f0bf5e546ec21 (patch)
tree026015437f0466e42e67794ae0d4864e34019ed2 /pci.c
parent4b4c9c4934b8e975476efa66cc73b8c37571cda6 (diff)
downloadldetect-99794d92c2b790ac3bfaa1f09a1f0bf5e546ec21.tar
ldetect-99794d92c2b790ac3bfaa1f09a1f0bf5e546ec21.tar.gz
ldetect-99794d92c2b790ac3bfaa1f09a1f0bf5e546ec21.tar.bz2
ldetect-99794d92c2b790ac3bfaa1f09a1f0bf5e546ec21.tar.xz
ldetect-99794d92c2b790ac3bfaa1f09a1f0bf5e546ec21.zip
reuse modprobe code in order to resolve modalias (need to be optimized)
Diffstat (limited to 'pci.c')
-rw-r--r--pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pci.c b/pci.c
index 0ef09a1..fd7a798 100644
--- a/pci.c
+++ b/pci.c
@@ -141,7 +141,7 @@ extern struct pciusb_entries pci_probe(void) {
realloc(r.entries, sizeof(struct pciusb_entry) * r.nb);
pci_cleanup(pacc);
- if (pciusb_find_modules(&r, "pcitable", DO_NOT_LOAD))
+ if (pciusb_find_modules(&r, "pcitable", DO_NOT_LOAD, 1))
return r;
/* should not happen */