diff options
author | Mike Fiore <mfiore@multitech.com> | 2014-10-01 08:41:26 -0500 |
---|---|---|
committer | Mike Fiore <mfiore@multitech.com> | 2014-10-01 08:41:26 -0500 |
commit | 0f27f5666932274a30ca018c7dacfd7a9e5fc8bb (patch) | |
tree | d9873f1528405dc1676fe025634c8c895a084f5a /io-module/mts_io.h | |
parent | 4c4f2f12985dc811898ebbf6d14de43874e3ca9d (diff) | |
download | mts-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.h | 1 |
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 */ |