diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2014-09-30 09:23:22 +1000 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam.mj@au1.ibm.com> | 2014-09-30 11:10:48 +1000 |
commit | 4d5a57a73cbfa29ad2c8672f157294f733726f90 (patch) | |
tree | 471a0c52ebcbff86c1d3b3142db67fd67d6f648f /discover/platform.h | |
parent | d88c7a99467e50bd9d2b57f0f7346904c45c6a11 (diff) | |
download | petitboot-4d5a57a73cbfa29ad2c8672f157294f733726f90.zip petitboot-4d5a57a73cbfa29ad2c8672f157294f733726f90.tar.gz |
discover/platform: Add finalise_config_hook
Signed-off-by: Samuel Mendoza-Jonas <sam.mj@au1.ibm.com>
Diffstat (limited to 'discover/platform.h')
-rw-r--r-- | discover/platform.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/discover/platform.h b/discover/platform.h index 0a1aa5e..5601b61 100644 --- a/discover/platform.h +++ b/discover/platform.h @@ -8,6 +8,7 @@ struct platform { bool (*probe)(struct platform *, void *); int (*load_config)(struct platform *, struct config *); int (*save_config)(struct platform *, struct config *); + void (*finalise_config)(struct platform *); int (*get_sysinfo)(struct platform *, struct system_info *); uint16_t dhcp_arch_id; void *platform_data; @@ -17,6 +18,7 @@ int platform_init(void *ctx); int platform_fini(void); const struct platform *platform_get(void); int platform_get_sysinfo(struct system_info *info); +void platform_finalise_config(void); /* configuration interface */ const struct config *config_get(void); |