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 /io-module | |
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
Diffstat (limited to 'io-module')
-rw-r--r-- | io-module/mts_io_module.h | 2 | ||||
-rw-r--r-- | io-module/mts_supercap.h | 4 |
2 files changed, 5 insertions, 1 deletions
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" |