diff options
author | John Klug <jklug@buildslavemtcdt3dm1.dc.multitech.prv> | 2020-12-03 12:05:11 -0600 |
---|---|---|
committer | John Klug <jklug@buildslavemtcdt3dm1.dc.multitech.prv> | 2020-12-03 12:05:11 -0600 |
commit | 6fb0b6bed65b9df6e34e83c84878cf002394f676 (patch) | |
tree | 340a7acfcf1ab82df75f3856e819839aa741da0b | |
parent | f92e9e9e490ee12b69295f195c9be4f71d784ed9 (diff) | |
download | mts-io-6fb0b6bed65b9df6e34e83c84878cf002394f676.tar.gz mts-io-6fb0b6bed65b9df6e34e83c84878cf002394f676.tar.bz2 mts-io-6fb0b6bed65b9df6e34e83c84878cf002394f676.zip |
Fix supercap power-down feature for 4.19 kernel4.5.1
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | io-module/mts_io_module.h | 2 | ||||
-rw-r--r-- | io-module/mts_supercap.h | 4 |
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" |