summaryrefslogtreecommitdiffstats
path: root/discover/kboot-parser.c
diff options
context:
space:
mode:
authorGeoff Levand <geoff@infradead.org>2012-03-16 22:06:03 -0700
committerGeoff Levand <geoff@infradead.org>2012-03-16 22:16:41 -0700
commit7c5e552c210b38a06ed9fbb99418b62e20978666 (patch)
treed8973628338cb604eb3032c7b6d36daca70d8435 /discover/kboot-parser.c
parent54f94570b65095c5b9251981956102d3f2864f90 (diff)
downloadtalos-petitboot-7c5e552c210b38a06ed9fbb99418b62e20978666.tar.gz
talos-petitboot-7c5e552c210b38a06ed9fbb99418b62e20978666.zip
Use static array for parsers
Change the parser structure array implementation from using an array in a seperate parsers section to a static array of pointers in parser.c. Parser priority is now set by the position in the new parsers array. Signed-off-by: Geoff Levand <geoff@infradead.org>
Diffstat (limited to 'discover/kboot-parser.c')
-rw-r--r--discover/kboot-parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/discover/kboot-parser.c b/discover/kboot-parser.c
index 429ae09..025f13b 100644
--- a/discover/kboot-parser.c
+++ b/discover/kboot-parser.c
@@ -153,4 +153,4 @@ static int kboot_parse(struct discover_context *dc)
return rc;
}
-define_parser(kboot, 98, kboot_parse);
+define_parser(kboot, kboot_parse);
OpenPOWER on IntegriCloud