summaryrefslogtreecommitdiff
path: root/io-module/mts_io.h
diff options
context:
space:
mode:
authorMike Fiore <mfiore@multitech.com>2014-10-01 08:41:26 -0500
committerMike Fiore <mfiore@multitech.com>2014-10-01 08:41:26 -0500
commit0f27f5666932274a30ca018c7dacfd7a9e5fc8bb (patch)
treed9873f1528405dc1676fe025634c8c895a084f5a /io-module/mts_io.h
parent4c4f2f12985dc811898ebbf6d14de43874e3ca9d (diff)
downloadmts-io-0f27f5666932274a30ca018c7dacfd7a9e5fc8bb.tar.gz
mts-io-0f27f5666932274a30ca018c7dacfd7a9e5fc8bb.tar.bz2
mts-io-0f27f5666932274a30ca018c7dacfd7a9e5fc8bb.zip
mts-io: standardize lookup of pin name by attribute name
1 set of functions for ap gpio pin store and show each type of card defines a callback that specifies the mapping of attribute names to pin names
Diffstat (limited to 'io-module/mts_io.h')
-rw-r--r--io-module/mts_io.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/io-module/mts_io.h b/io-module/mts_io.h
index f469b83..cc88392 100644
--- a/io-module/mts_io.h
+++ b/io-module/mts_io.h
@@ -112,6 +112,7 @@ struct ap_info {
bool (*teardown)(enum ap port);
int attrs_start;
int attrs_end;
+ char* (*gpio_pin_name_by_attr_name)(const char* name);
};
#endif /* ~__MTS_IO_H */