diff options
Diffstat (limited to 'discover/kboot-parser.c')
-rw-r--r-- | discover/kboot-parser.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/discover/kboot-parser.c b/discover/kboot-parser.c index e602dc4..884658e 100644 --- a/discover/kboot-parser.c +++ b/discover/kboot-parser.c @@ -157,9 +157,11 @@ static int kboot_parse(struct discover_context *dc, char *buf, int len) return 1; } -struct parser __kboot_parser = { +static struct parser kboot_parser = { .name = "kboot", .parse = kboot_parse, .filenames = kboot_conf_files, .resolve_resource = resolve_devpath_resource, }; + +register_parser(kboot_parser); |