summaryrefslogtreecommitdiff
path: root/io-module/mts_io.h
diff options
context:
space:
mode:
Diffstat (limited to 'io-module/mts_io.h')
-rw-r--r--io-module/mts_io.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/io-module/mts_io.h b/io-module/mts_io.h
index bcf8e74..0af81f2 100644
--- a/io-module/mts_io.h
+++ b/io-module/mts_io.h
@@ -9,6 +9,8 @@
#endif
#endif
+#include <linux/gpio.h>
+
#define MTS_ATTR_MODE_RW S_IWUSR | S_IRUGO
#define MTS_ATTR_MODE_RO S_IRUGO
@@ -122,11 +124,7 @@ enum {
struct gpio_pin {
char name[32];
- char attr_name[32];
- unsigned pin;
- int direction;
- int output_value;
- int use_pullup;
+ struct gpio pin;
int active_low;
};