summaryrefslogtreecommitdiffstats
path: root/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'protocols')
-rw-r--r--protocols/default.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/default.h b/protocols/default.h
index 6201176..c3e6d06 100644
--- a/protocols/default.h
+++ b/protocols/default.h
@@ -2,6 +2,7 @@
#define _PCILIB_DEFAULT_H
#include "pcilib.h"
+#include "version.h"
#include "model.h"
int pcilib_default_read(pcilib_t *ctx, pcilib_register_bank_context_t *bank, pcilib_register_addr_t addr, pcilib_register_value_t *value);
@@ -9,7 +10,7 @@ int pcilib_default_write(pcilib_t *ctx, pcilib_register_bank_context_t *bank, pc
#ifdef _PCILIB_EXPORT_C
const pcilib_register_protocol_api_description_t pcilib_default_protocol_api =
- { NULL, NULL, pcilib_default_read, pcilib_default_write };
+ { PCILIB_VERSION, NULL, NULL, pcilib_default_read, pcilib_default_write };
#endif /* _PCILIB_EXPORT_C */
#endif /* _PCILIB_DEFAULT_H */