From 0f27f5666932274a30ca018c7dacfd7a9e5fc8bb Mon Sep 17 00:00:00 2001 From: Mike Fiore Date: Wed, 1 Oct 2014 08:41:26 -0500 Subject: 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 --- io-module/mts_io.h | 1 + 1 file changed, 1 insertion(+) (limited to 'io-module/mts_io.h') 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 */ -- cgit v1.2.3