diff options
author | sharma-mts <86847754+sharma-mts@users.noreply.github.com> | 2022-01-25 10:50:42 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2022-02-16 16:13:43 -0600 |
commit | 9934194837157908acdf39665a4730d46176eb83 (patch) | |
tree | 3419154bae8998d3579848779abd4a4832a1dec2 /io-module/mts_io.h | |
parent | 25a9a0239427de73c777b827d922642e6f46b646 (diff) | |
download | mts-io-9934194837157908acdf39665a4730d46176eb83.tar.gz mts-io-9934194837157908acdf39665a4730d46176eb83.tar.bz2 mts-io-9934194837157908acdf39665a4730d46176eb83.zip |
GPIO descriptor feature, remove mts-io-0 platform device4.9.0
Diffstat (limited to 'io-module/mts_io.h')
-rw-r--r-- | io-module/mts_io.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/io-module/mts_io.h b/io-module/mts_io.h index 4f46804..e0b67b7 100644 --- a/io-module/mts_io.h +++ b/io-module/mts_io.h @@ -3,7 +3,7 @@ #include "mts_eeprom.h" #include <linux/gpio.h> - +#include <linux/gpio/consumer.h> /* Note that this header file is used by the MTAC driver. */ #define __log(level, name, format, args...) \ @@ -47,6 +47,8 @@ struct gpio_pin { struct gpio pin; int active_low; uint8_t capability; + int do_gpio_desc; + struct gpio_desc *desc; }; extern int mts_has_radio(const char *product_id, size_t len); |