summaryrefslogtreecommitdiff
path: root/io-module/buttons.h
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2018-10-15 14:09:53 -0500
committerJohn Klug <john.klug@multitech.com>2018-10-15 14:09:53 -0500
commit75f812b964c388cd1e41d5dd77d48ad82b32ec38 (patch)
treea720efda2928df276fb382e890cab2ad947e24d0 /io-module/buttons.h
parentd2a70d9285ca3339fa9df44b83cfe9bc0d5ce8b7 (diff)
downloadmts-io-75f812b964c388cd1e41d5dd77d48ad82b32ec38.tar.gz
mts-io-75f812b964c388cd1e41d5dd77d48ad82b32ec38.tar.bz2
mts-io-75f812b964c388cd1e41d5dd77d48ad82b32ec38.zip
Remove mtac cards. mts-io version 3.0.03.0.0
Diffstat (limited to 'io-module/buttons.h')
-rw-r--r--io-module/buttons.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/io-module/buttons.h b/io-module/buttons.h
index 9a09fac..8bbe58a 100644
--- a/io-module/buttons.h
+++ b/io-module/buttons.h
@@ -29,6 +29,7 @@
#include <linux/io.h>
#include <linux/module.h>
+#include "mts_io_module.h"
#include "mts_io.h"
#define BUTTON_CHECK_PER_SEC 8
@@ -64,7 +65,7 @@ extern void cleanup_buttons(void);
extern int set_buttons (button_info_pt* platform_buttons);
extern ssize_t mts_attr_show_button_monitor_intervals(struct device *dev, struct device_attribute *attr, char *buf);
-extern ssize_t mts_attr_store_button_monitor_intervals(struct device *dev, struct device_attribute *attr, char *buf, size_t count);
+extern ssize_t mts_attr_store_button_monitor_intervals(struct device *dev, struct device_attribute *attr, const char *buf, size_t count);
extern ssize_t mts_attr_show_button_monitor(struct device *dev,
struct device_attribute *attr,
char *buf);