diff options
Diffstat (limited to 'io-module/buttons.h')
-rw-r--r-- | io-module/buttons.h | 3 |
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); |