diff options
author | Mike Fiore <mfiore@multitech.com> | 2014-04-24 08:36:00 -0500 |
---|---|---|
committer | Mike Fiore <mfiore@multitech.com> | 2014-04-24 08:36:00 -0500 |
commit | ec92fa999d5efb9ba0a9bba169b18bcce80a4f2b (patch) | |
tree | d47346043a4dd0cc937d26ab377410bbff6afbf7 /io-module/mts_io.h | |
parent | d8c7bd7a42f29e11b84df011da0d7ab4f465da92 (diff) | |
download | mts-io-ec92fa999d5efb9ba0a9bba169b18bcce80a4f2b.tar.gz mts-io-ec92fa999d5efb9ba0a9bba169b18bcce80a4f2b.tar.bz2 mts-io-ec92fa999d5efb9ba0a9bba169b18bcce80a4f2b.zip |
mts-io: add support for 3.12 kernel and all its fun changes
this commit should build and function for mtocgd and mtocgd2
support for mtcdp and eocg platforms is not yet implemented
Diffstat (limited to 'io-module/mts_io.h')
-rw-r--r-- | io-module/mts_io.h | 8 |
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; }; |