summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'common.h')
-rw-r--r--common.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/common.h b/common.h
index 4cf5eb6..9b6d455 100644
--- a/common.h
+++ b/common.h
@@ -5,7 +5,12 @@
#define NON_EXPORTED __attribute__((visibility("hidden")))
-extern int pciusb_find_modules(struct pciusb_entries *entries, const char *fpciusbtable) NON_EXPORTED;
+typedef enum {
+ LOAD,
+ DO_NOT_LOAD,
+} descr_lookup;
+
+extern int pciusb_find_modules(struct pciusb_entries *entries, const char *fpciusbtable, const descr_lookup) NON_EXPORTED;
extern void pciusb_initialize(struct pciusb_entry *e) NON_EXPORTED;
#define MAX_DEVICES 100