summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2020-02-26 10:31:08 -0600
committerJohn Klug <john.klug@multitech.com>2020-02-26 10:31:08 -0600
commit5be5a4ffc7b619b68f5542a158c810c453a19b65 (patch)
treef6a83e8e7d9ee6f0831748c9941278c272d4205b
parent7b9e6df78381c4582e76883d28de7b770363bfb2 (diff)
downloadmts-io-5be5a4ffc7b619b68f5542a158c810c453a19b65.tar.gz
mts-io-5be5a4ffc7b619b68f5542a158c810c453a19b65.tar.bz2
mts-io-5be5a4ffc7b619b68f5542a158c810c453a19b65.zip
use unique name for mt100 eth reset
-rw-r--r--io-module/machine/mt100eocg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/io-module/machine/mt100eocg.c b/io-module/machine/mt100eocg.c
index 18bea89..c9d2961 100644
--- a/io-module/machine/mt100eocg.c
+++ b/io-module/machine/mt100eocg.c
@@ -149,7 +149,7 @@ static DEVICE_ATTR_RO_MTS(dev_attr_extserial_dtr, "extserial-dtr",
static DEVICE_ATTR_MTS(dev_attr_extserial_dcd_gpio, "extserial-dcd",
mts_attr_show_gpio_pin, mts_attr_store_gpio_pin);
-static DEVICE_ATTR_MTS(dev_attr_eth_reset, "eth-reset",
+static DEVICE_ATTR_MTS(dev_attr_eth_reset_mt100, "eth-reset",
mts_attr_show_gpio_pin, mts_attr_store_gpio_pin);
static DEVICE_ATTR_MTS(dev_attr_enio, "enio",
@@ -207,7 +207,7 @@ static struct attribute *mt100eocg_platform_attributes[] = {
&dev_attr_extserial_dcd_gpio.attr,
&dev_attr_rsersrc.attr, // AT91_PIN_PC7
&dev_attr_radio_reset.attr, // AT91_PIN_PB30
- &dev_attr_eth_reset.attr,
+ &dev_attr_eth_reset_mt100.attr,
&dev_attr_gpio11.attr, // AT91_PIN_PB19
&dev_attr_gpio12.attr, // AT91_PIN_PB20
&dev_attr_enio.attr,