summaryrefslogtreecommitdiffstats
path: root/include/state.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/state.h')
-rw-r--r--include/state.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/state.h b/include/state.h
index f1882ae02..4e995a19e 100644
--- a/include/state.h
+++ b/include/state.h
@@ -10,8 +10,7 @@ int state_backend_dtb_file(struct state *state, const char *of_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_node(struct device_node *node, char *path,
- off_t offset, size_t max_size, bool readonly);
+struct state *state_new_from_node(struct device_node *node, bool readonly);
void state_release(struct state *state);
struct state *state_by_name(const char *name);