summaryrefslogtreecommitdiff
path: root/io-module/mts_io.h
diff options
context:
space:
mode:
authorMike Fiore <mfiore@multitech.com>2014-09-25 14:03:36 -0500
committerMike Fiore <mfiore@multitech.com>2014-09-25 14:03:36 -0500
commitc83b0cf41999478d31c86fb50740d1fdf0fbb003 (patch)
treeab45043d74eda998a5dac1d270697731d8a40652 /io-module/mts_io.h
parenta21c24fa2486e4d4a3b25d0dcbf873ae62fdbcec (diff)
downloadmts-io-c83b0cf41999478d31c86fb50740d1fdf0fbb003.tar.gz
mts-io-c83b0cf41999478d31c86fb50740d1fdf0fbb003.tar.bz2
mts-io-c83b0cf41999478d31c86fb50740d1fdf0fbb003.zip
mts-io: clean up memory allocated for accessory cards on module unload or setup failure
Diffstat (limited to 'io-module/mts_io.h')
-rw-r--r--io-module/mts_io.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/io-module/mts_io.h b/io-module/mts_io.h
index ac39463..2aedd3e 100644
--- a/io-module/mts_io.h
+++ b/io-module/mts_io.h
@@ -120,6 +120,8 @@ struct ap_info {
uint8_t product_id;
bool (*setup)(enum ap port);
bool (*teardown)(enum ap port);
+ int attrs_start;
+ int attrs_end;
};
#endif /* ~__MTS_IO_H */