summaryrefslogtreecommitdiff
path: root/io-module/mtac.c
diff options
context:
space:
mode:
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: