git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MIPS: BCM47xx: Fix nvram_getenv return value.
[sfrench/cifs-2.6.git]
/
arch
/
mips
/
include
/
asm
/
mach-bcm47xx
/
nvram.h
diff --git
a/arch/mips/include/asm/mach-bcm47xx/nvram.h
b/arch/mips/include/asm/mach-bcm47xx/nvram.h
index 0d8cc146f7a4dbb315f57a9353502e28bc556a1f..c58ebd8bc1551dd92e14111acc1ac92c4b17d1b7 100644
(file)
--- a/
arch/mips/include/asm/mach-bcm47xx/nvram.h
+++ b/
arch/mips/include/asm/mach-bcm47xx/nvram.h
@@
-31,6
+31,9
@@
struct nvram_header {
#define NVRAM_MAX_VALUE_LEN 255
#define NVRAM_MAX_PARAM_LEN 64
+#define NVRAM_ERR_INV_PARAM -8
+#define NVRAM_ERR_ENVNOTFOUND -9
+
extern int nvram_getenv(char *name, char *val, size_t val_len);
#endif