summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libldetect.h1
-rw-r--r--pciusb.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/libldetect.h b/libldetect.h
index c954da0..b588560 100644
--- a/libldetect.h
+++ b/libldetect.h
@@ -18,6 +18,7 @@ struct pciusb_entry {
char *module;
char *text;
+ char* class;
int already_found:1;
};
struct pciusb_entries {
diff --git a/pciusb.c b/pciusb.c
index d5acfe6..c70f441 100644
--- a/pciusb.c
+++ b/pciusb.c
@@ -76,6 +76,7 @@ extern void pciusb_initialize(struct pciusb_entry *e) {
e->pci_function = 0xffff;
e->module = NULL;
e->text = NULL;
+ e->class = NULL;
e->already_found = 0;
}