diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2017-04-05 16:28:50 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-04-06 10:48:59 +0200 |
commit | 18c05a168124a027aa481ab79d4527f1767939e6 (patch) | |
tree | 06c5642d88e2131ca95104da2a5d71a904774d52 /include | |
parent | b79ce1382f201bf2e098bafe618a81a4a83e7d1e (diff) | |
download | barebox-18c05a168124a027aa481ab79d4527f1767939e6.tar.gz barebox-18c05a168124a027aa481ab79d4527f1767939e6.tar.xz |
bootchooser: register as bootentry provider
Instead of using a global function called by
bootentry_create_from_name(), register the bootchooser as bootentry
provider.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/bootchooser.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/bootchooser.h b/include/bootchooser.h index c948247722..246258e8c9 100644 --- a/include/bootchooser.h +++ b/include/bootchooser.h @@ -19,8 +19,6 @@ struct bootchooser_target *bootchooser_target_by_name(struct bootchooser *bootch const char *name); void bootchooser_target_force_boot(struct bootchooser_target *target); -int bootchooser_create_bootentry(struct bootentries *entries); - int bootchooser_target_set_attempts(struct bootchooser_target *target, int attempts); int bootchooser_target_set_priority(struct bootchooser_target *target, int priority); |