summaryrefslogtreecommitdiffstats
path: root/discover/grub2-parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'discover/grub2-parser.c')
-rw-r--r--discover/grub2-parser.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/discover/grub2-parser.c b/discover/grub2-parser.c
index fa7b950..6ef5945 100644
--- a/discover/grub2-parser.c
+++ b/discover/grub2-parser.c
@@ -188,4 +188,8 @@ static int grub2_parse(struct discover_context *dc)
return rc;
}
-define_parser(grub2, grub2_parse);
+struct parser __grub2_parser = {
+ .name = "grub2",
+ .parse = grub2_parse,
+ .filenames = grub2_conf_files,
+};
OpenPOWER on IntegriCloud