From ec92fa999d5efb9ba0a9bba169b18bcce80a4f2b Mon Sep 17 00:00:00 2001 From: Mike Fiore Date: Thu, 24 Apr 2014 08:36:00 -0500 Subject: 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 --- io-module/mts_io.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'io-module/mts_io.h') 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 + #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; }; -- cgit v1.2.3