diff options
Diffstat (limited to 'include/state.h')
-rw-r--r-- | include/state.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/state.h b/include/state.h index e96d3bfb2e..08c4e8654b 100644 --- a/include/state.h +++ b/include/state.h @@ -5,12 +5,13 @@ struct state; -int state_backend_dtb_file(struct state *state, const char *path); -int state_backend_raw_file(struct state *state, const char *path, - off_t offset, size_t size); +int state_backend_dtb_file(struct state *state, const char *of_path, + const char *path); +int state_backend_raw_file(struct state *state, const char *of_path, + const char *path, off_t offset, size_t size); -struct state *state_new_from_fdt(const char *name, void *fdt); struct state *state_new_from_node(const char *name, struct device_node *node); +void state_release(struct state *state); struct state *state_by_name(const char *name); struct state *state_by_node(const struct device_node *node); |