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.h4
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);