diff options
author | John Klug <john.klug@multitech.com> | 2018-04-20 15:26:43 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2018-04-20 16:17:36 -0500 |
commit | 439f03b0c397ce4c2998f9be185b193cfcbc4fff (patch) | |
tree | 923f73903033abb2b166fb87808b1dfa3f1d8c9f /io-module/mtcap.c | |
parent | b3cfb538d0897de1621ea321a7122fab4cd51051 (diff) | |
download | mts-io-2.0.1.tar.gz mts-io-2.0.1.tar.bz2 mts-io-2.0.1.zip |
Add has-radio flag to mts-io, and remove compiler warnings2.0.1
Diffstat (limited to 'io-module/mtcap.c')
-rw-r--r-- | io-module/mtcap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/io-module/mtcap.c b/io-module/mtcap.c index b28e8eb..fd278c8 100644 --- a/io-module/mtcap.c +++ b/io-module/mtcap.c @@ -435,6 +435,7 @@ static struct attribute *mtcap_0_0_platform_attributes[] = { &dev_attr_hw_version.attr, &dev_attr_imei.attr, &dev_attr_eth_mac.attr, + &dev_attr_has_radio.attr, &dev_attr_reset.attr, &dev_attr_reset_monitor.attr, &dev_attr_reset_monitor_intervals.attr, @@ -460,7 +461,7 @@ static struct attribute *mtcap_0_0_platform_attributes[] = { }; static int -is_radio_power_attr(struct attribute *attr) +is_radio_power_attr_mtcap(struct attribute *attr) { return (attr == &dev_attr_radio_power_mtcap.attr); } |