.desc = "A child node which is part of the sequence.",
.type = EC_CONFIG_TYPE_NODE,
},
+ {
+ .type = EC_CONFIG_TYPE_NONE,
+ },
};
static const struct ec_config_schema ec_node_seq_schema[] = {
.desc = "The list of children nodes, to be parsed in sequence.",
.type = EC_CONFIG_TYPE_LIST,
.subschema = ec_node_seq_subschema,
- .subschema_len = EC_COUNT_OF(ec_node_seq_subschema),
+ },
+ {
+ .type = EC_CONFIG_TYPE_NONE,
},
};
static struct ec_node_type ec_node_seq_type = {
.name = "seq",
.schema = ec_node_seq_schema,
- .schema_len = EC_COUNT_OF(ec_node_seq_schema),
.set_config = ec_node_seq_set_config,
.parse = ec_node_seq_parse,
.complete = ec_node_seq_complete,