diff options
Diffstat (limited to 'io-module/mts_io.c')
-rw-r--r-- | io-module/mts_io.c | 8 |
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)); |