parsers: populate resolve_resource members
[petitboot] / discover / yaboot-parser.c
index 816e0c4a91f941b542791bd31f74184dcdca5288..65252029952acfad51a4416567ed4698db621cc5 100644 (file)
@@ -314,10 +314,11 @@ static int yaboot_parse(struct discover_context *dc, char *buf, int len)
 }
 
 static struct parser yaboot_parser = {
-       .name           = "yaboot",
-       .method         = CONF_METHOD_LOCAL_FILE,
-       .parse          = yaboot_parse,
-       .filenames      = yaboot_conf_files,
+       .name                   = "yaboot",
+       .method                 = CONF_METHOD_LOCAL_FILE,
+       .parse                  = yaboot_parse,
+       .filenames              = yaboot_conf_files,
+       .resolve_resource       = resolve_devpath_resource,
 };
 
 register_parser(yaboot_parser);