diff options
author | Mike Fiore <mfiore@multitech.com> | 2014-09-25 14:03:36 -0500 |
---|---|---|
committer | Mike Fiore <mfiore@multitech.com> | 2014-09-25 14:03:36 -0500 |
commit | c83b0cf41999478d31c86fb50740d1fdf0fbb003 (patch) | |
tree | ab45043d74eda998a5dac1d270697731d8a40652 /io-module/mts_io.h | |
parent | a21c24fa2486e4d4a3b25d0dcbf873ae62fdbcec (diff) | |
download | mts-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.h | 2 |
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 */ |