summaryrefslogtreecommitdiffstats
path: root/pciusb.c
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-10-01 07:48:32 +0000
committerThierry Vignaud <tv@mandriva.org>2009-10-01 07:48:32 +0000
commit440e9802ed3b4a4af20c06cbd9f7beb9e964f87d (patch)
tree672f433f8b7884a4511969382a0a6995514dcc51 /pciusb.c
parent41831cfa1ec9a17a0e152ab8abdc87c400fec69b (diff)
downloadldetect-440e9802ed3b4a4af20c06cbd9f7beb9e964f87d.tar
ldetect-440e9802ed3b4a4af20c06cbd9f7beb9e964f87d.tar.gz
ldetect-440e9802ed3b4a4af20c06cbd9f7beb9e964f87d.tar.bz2
ldetect-440e9802ed3b4a4af20c06cbd9f7beb9e964f87d.tar.xz
ldetect-440e9802ed3b4a4af20c06cbd9f7beb9e964f87d.zip
use same types as in libpci (in order to please Teuf)
Diffstat (limited to 'pciusb.c')
-rw-r--r--pciusb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pciusb.c b/pciusb.c
index cc7b0be..bcd901f 100644
--- a/pciusb.c
+++ b/pciusb.c
@@ -169,9 +169,9 @@ extern void pciusb_initialize(struct pciusb_entry *e) {
e->subvendor = 0xffff;
e->subdevice = 0xffff;
e->class_id = 0;
- e->pci_bus = 0xffff;
- e->pci_device = 0xffff;
- e->pci_function = 0xffff;
+ e->pci_bus = 0xff;
+ e->pci_device = 0xff;
+ e->pci_function = 0xff;
e->pci_revision = 0;
e->usb_port = 0xffff;
e->module = NULL;