diff options
author | Geoff Levand <geoff@infradead.org> | 2012-03-16 22:06:03 -0700 |
---|---|---|
committer | Geoff Levand <geoff@infradead.org> | 2012-03-16 22:16:41 -0700 |
commit | 7c5e552c210b38a06ed9fbb99418b62e20978666 (patch) | |
tree | d8973628338cb604eb3032c7b6d36daca70d8435 /discover/kboot-parser.c | |
parent | 54f94570b65095c5b9251981956102d3f2864f90 (diff) | |
download | talos-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.c | 2 |
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); |