summaryrefslogtreecommitdiff
path: root/io-module/mtac.c
diff options
context:
space:
mode:
authorMike Fiore <mfiore@multitech.com>2014-10-13 13:21:23 -0500
committerMike Fiore <mfiore@multitech.com>2014-10-13 13:21:23 -0500
commit2e5fcb88eb1d8efe81bbfbb141edb3d1572ac647 (patch)
tree94f7d95085260994e5df2fa2cd4148a30d6e7f75 /io-module/mtac.c
parent580677dea4b14e359f2c0622e4340da0cee761c0 (diff)
downloadmts-io-2e5fcb88eb1d8efe81bbfbb141edb3d1572ac647.tar.gz
mts-io-2e5fcb88eb1d8efe81bbfbb141edb3d1572ac647.tar.bz2
mts-io-2e5fcb88eb1d8efe81bbfbb141edb3d1572ac647.zip
mts-io: add mtac-eth support, card gets ID'd correctly and eeprom attributes are in sysfs
Diffstat (limited to 'io-module/mtac.c')
-rw-r--r--io-module/mtac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io-module/mtac.c b/io-module/mtac.c
index 9b27e0d..d25771d 100644
--- a/io-module/mtac.c
+++ b/io-module/mtac.c
@@ -93,7 +93,7 @@ static bool ap_add_product_info_attributes(int port, int type, struct attribute*
return false;
}
kobj_attr->show = ap_show_product_info;
- attrs[*index++] = &kobj_attr->attr;
+ attrs[(*index)++] = &kobj_attr->attr;
break;
case MTAC_GPIOB_0_0: