summaryrefslogtreecommitdiffstats
path: root/discover/kboot-parser.c
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2012-03-18 16:20:38 -0700
committerGeoff Levand <geoff@infradead.org>2012-03-18 16:27:55 -0700
commit24236269ce5126dfa60af60a925da503a7338c4d (patch)
treec6b52b327efc04cd017fccb29d2ad6c9282cc485 /discover/kboot-parser.c
parent60384121c27eb92c25955a06e8dea088290f938b (diff)
downloadtalos-petitboot-24236269ce5126dfa60af60a925da503a7338c4d.tar.gz
talos-petitboot-24236269ce5126dfa60af60a925da503a7338c4d.zip
Add new member get_pair to conf parser context
To allow parsers more control over finding paramerter pairs add a new member get_pair to the parser struct conf_context. Initialize get_pair=conf_get_pair_equal for existing parsers. Signed-off-by: Geoff Levand <geoff@infradead.org>
Diffstat (limited to 'discover/kboot-parser.c')
-rw-r--r--discover/kboot-parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/discover/kboot-parser.c b/discover/kboot-parser.c
index ab508ec..5fabc94 100644
--- a/discover/kboot-parser.c
+++ b/discover/kboot-parser.c
@@ -144,6 +144,7 @@ static int kboot_parse(struct discover_context *dc)
conf->global_options = kboot_global_options,
conf_init_global_options(conf);
conf->conf_files = kboot_conf_files,
+ conf->get_pair = conf_get_pair_equal;
conf->process_pair = kboot_process_pair;
conf->parser_info = (void *)kboot_ignored_names,
OpenPOWER on IntegriCloud