diff options
author | John Klug <john.klug@multitech.com> | 2019-08-29 13:15:16 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2019-08-29 13:15:16 -0500 |
commit | 751d733a6cde13817fc584209070393716df4b9a (patch) | |
tree | 4af04141eb8409db362b600ef2d826dce89ec09b /io-module | |
parent | 8ffd3e6e3356ecd0e85ca55184590fc7555511d9 (diff) | |
download | mts-io-751d733a6cde13817fc584209070393716df4b9a.tar.gz mts-io-751d733a6cde13817fc584209070393716df4b9a.tar.bz2 mts-io-751d733a6cde13817fc584209070393716df4b9a.zip |
Fix the wifi/bt labels in the MACRO DEVICE_ATTR_MTS
Diffstat (limited to 'io-module')
-rw-r--r-- | io-module/machine/mtcdt3.c | 4 | ||||
-rw-r--r-- | io-module/mts_io_module.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/io-module/machine/mtcdt3.c b/io-module/machine/mtcdt3.c index 10bb5a5..2fd5637 100644 --- a/io-module/machine/mtcdt3.c +++ b/io-module/machine/mtcdt3.c @@ -156,9 +156,9 @@ static struct gpio_pin gpio_pins_mtcdt3[] = { { }, }; -static DEVICE_ATTR_MTS(dev_attr_wifi_reset_mtcdt3, "wifi-reset", +static DEVICE_ATTR_MTS(dev_attr_wifi_reset_mtcdt3, "wlan-enabled", mts_attr_show_gpio_pin, mts_attr_store_gpio_pin); -static DEVICE_ATTR_MTS(dev_attr_bt_reset_mtcdt3, "bt-reset", +static DEVICE_ATTR_MTS(dev_attr_bt_reset_mtcdt3, "bt-enabled", mts_attr_show_gpio_pin, mts_attr_store_gpio_pin); static DEVICE_ATTR_RO_MTS(dev_attr_wifi_bt_int_mtcdt3, "wifi-bt-int", mts_attr_show_gpio_pin); diff --git a/io-module/mts_io_module.h b/io-module/mts_io_module.h index febcee7..e0455be 100644 --- a/io-module/mts_io_module.h +++ b/io-module/mts_io_module.h @@ -5,7 +5,7 @@ * MTAC cards. */ -#define DRIVER_VERSION "v4.1.7" +#define DRIVER_VERSION "v4.1.8" #define DRIVER_AUTHOR "James Maki <jmaki@multitech.com>" #define DRIVER_DESC "MTS-IO Controller" #define DRIVER_NAME "mts-io" |