projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
env: Adjust the load() method to return an error
[oweals/u-boot.git]
/
include
/
environment.h
diff --git
a/include/environment.h
b/include/environment.h
index ba8af28414be611d437b1b41117237f4ac0230ab..03b41e0c51160d295b17f4764abfb4cb6dff312e 100644
(file)
--- a/
include/environment.h
+++ b/
include/environment.h
@@
-236,8
+236,10
@@
struct env_driver {
*
* This method is optional. If not provided, no environment will be
* loaded.
+ *
+ * @return 0 if OK, -ve on error
*/
-
void
(*load)(void);
+
int
(*load)(void);
/**
* save() - Save the environment to storage