summaryrefslogtreecommitdiff
path: root/io-module/mts_io.c
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2014-11-04 11:04:24 -0600
committerJesse Gilles <jgilles@multitech.com>2014-11-04 11:04:24 -0600
commitcdf9e59ab6a793bb158c91c91aa0312a72211ad0 (patch)
treeac23d2b0b3e2f62744253707117edf5d6233a2cf /io-module/mts_io.c
parente87ec476597042ce75ec11e82287a5540933291b (diff)
downloadmts-io-cdf9e59ab6a793bb158c91c91aa0312a72211ad0.tar.gz
mts-io-cdf9e59ab6a793bb158c91c91aa0312a72211ad0.tar.bz2
mts-io-cdf9e59ab6a793bb158c91c91aa0312a72211ad0.zip
rename mtr2d2 to mtcdt
Diffstat (limited to 'io-module/mts_io.c')
-rw-r--r--io-module/mts_io.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/io-module/mts_io.c b/io-module/mts_io.c
index 9058096..cd39f99 100644
--- a/io-module/mts_io.c
+++ b/io-module/mts_io.c
@@ -374,7 +374,7 @@ static DEVICE_ATTR_RO_MTS(dev_attr_eth_mac, "mac-eth",
mts_attr_show_product_info);
/* include per-device pins and attributes */
-#include "mtr2d2.c"
+#include "mtcdt.c"
static bool load_port(int port) {
int port_index = port - 1;
@@ -455,9 +455,9 @@ static int mts_id_eeprom_load(void)
log_error("uninitialized eeprom");
return -EIO;
} else {
- attr_group = &mtr2d2_platform_attribute_group;
- gpio_pins = gpio_pins_mtr2d2_0_0;
- log_info("detected board %s", HW_VERSION_MTR2D2_0_0);
+ attr_group = &mtcdt_platform_attribute_group;
+ gpio_pins = gpio_pins_mtcdt_0_0;
+ log_info("detected board %s", HW_VERSION_MTCDT_0_0);
}
log_info("sizeof: %lu", (unsigned long) sizeof(struct mts_id_eeprom_layout));