Fix: add missing module version information
[lttng-modules.git] / probes / lttng-probe-gpio.c
index 51692a713000901b0592ed065f0f162aae6f4690..a156722d5c8218e65f9dbf9f5c64d2b57c0256c0 100644 (file)
@@ -22,6 +22,7 @@
  */
 
 #include <linux/module.h>
+#include "../lttng-tracer.h"
 
 /*
  * Create the tracepoint static inlines from the kernel to validate that our
@@ -41,3 +42,7 @@
 MODULE_LICENSE("GPL and additional rights");
 MODULE_AUTHOR("Wade Farnsworth <wade_farnsworth@mentor.com>");
 MODULE_DESCRIPTION("LTTng gpio probes");
+MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "."
+       __stringify(LTTNG_MODULES_MINOR_VERSION) "."
+       __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION)
+       LTTNG_MODULES_EXTRAVERSION);
This page took 0.04812 seconds and 4 git commands to generate.