summaryrefslogtreecommitdiff
path: root/io-module/mts_io.h
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2018-05-23 10:14:11 -0500
committerJohn Klug <john.klug@multitech.com>2018-05-23 10:14:11 -0500
commitc31d619c83ba2a6c7c803082e804d18da657a389 (patch)
treef1b751dd1f3ae58a6e722b201b0e64b759ae03b4 /io-module/mts_io.h
parent27a24df1a2c713b070559fc5404258d7b691c833 (diff)
downloadmts-io-c31d619c83ba2a6c7c803082e804d18da657a389.tar.gz
mts-io-c31d619c83ba2a6c7c803082e804d18da657a389.tar.bz2
mts-io-c31d619c83ba2a6c7c803082e804d18da657a389.zip
Merge in global logic mts-io hotspot code.2.0.5
Diffstat (limited to 'io-module/mts_io.h')
-rw-r--r--io-module/mts_io.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/io-module/mts_io.h b/io-module/mts_io.h
index b622330..57f07af 100644
--- a/io-module/mts_io.h
+++ b/io-module/mts_io.h
@@ -4,7 +4,13 @@
#include "mts_eeprom.h"
#include <linux/gpio.h>
-#define DEBUG 0
+
+#define DRIVER_VERSION "v2.0.5"
+#define DRIVER_AUTHOR "James Maki <jmaki@multitech.com>"
+#define DRIVER_DESC "MTS-IO Controller"
+#define DRIVER_NAME "mts-io"
+
+#define DEBUG 1
#define __log(level, name, format, args...) \
printk(level "[" name "] " DRIVER_NAME ":%s:%d: " format "\n" , \
@@ -148,5 +154,7 @@ struct ap_info {
char* (*gpio_pin_name_by_attr_name)(const char* name, int port);
};
+extern struct mutex mts_io_mutex;
+
#endif /* ~__MTS_IO_H */