summaryrefslogtreecommitdiff
path: root/io-module/mtcap.c
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2018-04-20 15:26:43 -0500
committerJohn Klug <john.klug@multitech.com>2018-04-20 15:32:40 -0500
commit24297c1295873ecdb729903aa2f53fe0ec1203d5 (patch)
tree923f73903033abb2b166fb87808b1dfa3f1d8c9f /io-module/mtcap.c
parent90d4811e95b58f5bb0124cd793e7045dc1ff6b3d (diff)
downloadmts-io-24297c1295873ecdb729903aa2f53fe0ec1203d5.tar.gz
mts-io-24297c1295873ecdb729903aa2f53fe0ec1203d5.tar.bz2
mts-io-24297c1295873ecdb729903aa2f53fe0ec1203d5.zip
Add has-radio flag to mts-io, and remove compiler warnings
Diffstat (limited to 'io-module/mtcap.c')
-rw-r--r--io-module/mtcap.c3
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);
}