summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--io-module/mts_io_module.h2
-rw-r--r--io-module/mts_supercap.h4
3 files changed, 6 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 6d04b9f..ed8ce66 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT([mts-io], [4.5.0])
+AC_INIT([mts-io], [4.5.1])
AC_CONFIG_SRCDIR([util/mts_util_lora2_reset.c])
AM_INIT_AUTOMAKE
AM_CONFIG_HEADER([config.h])
diff --git a/io-module/mts_io_module.h b/io-module/mts_io_module.h
index 301b853..0af9e06 100644
--- a/io-module/mts_io_module.h
+++ b/io-module/mts_io_module.h
@@ -5,7 +5,7 @@
* MTAC cards.
*/
-#define DRIVER_VERSION "v4.5.0"
+#define DRIVER_VERSION "v4.5.1"
#define DRIVER_AUTHOR "Multitech Systems"
#define DRIVER_DESC "MTS-IO Controller"
#define DRIVER_NAME "mts-io"
diff --git a/io-module/mts_supercap.h b/io-module/mts_supercap.h
index 871346d..bbe5529 100644
--- a/io-module/mts_supercap.h
+++ b/io-module/mts_supercap.h
@@ -3,6 +3,10 @@
#include <linux/workqueue.h>
#include <linux/pid.h>
+#include <linux/version.h>
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,11,0)
+#include <linux/signalfd.h>
+#endif
#include "mts_io.h"
#include "mts_io_module.h"