diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2012-12-26 14:51:09 -0500 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-02-15 13:01:56 -0500 |
commit | ee7e2f3c235f43d815c0be285101b5b91a3bcaa5 (patch) | |
tree | 6ffcb4e4e9ba2c48c57f6a76f840a2403fb9f2ea /arch/mips/include | |
parent | bb76563214ec371a461ca5038904a5b93dbd6b46 (diff) |
MIPS: BCM47XX: use common error codes in nvram reads
Instead of using our own error codes use some common codes.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Patchwork: http://patchwork.linux-mips.org/patch/4739/
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'arch/mips/include')
-rw-r--r-- | arch/mips/include/asm/mach-bcm47xx/nvram.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/mips/include/asm/mach-bcm47xx/nvram.h b/arch/mips/include/asm/mach-bcm47xx/nvram.h index 69ef3efe06e7..550a7fc932c9 100644 --- a/arch/mips/include/asm/mach-bcm47xx/nvram.h +++ b/arch/mips/include/asm/mach-bcm47xx/nvram.h | |||
@@ -32,9 +32,6 @@ struct nvram_header { | |||
32 | #define NVRAM_MAX_VALUE_LEN 255 | 32 | #define NVRAM_MAX_VALUE_LEN 255 |
33 | #define NVRAM_MAX_PARAM_LEN 64 | 33 | #define NVRAM_MAX_PARAM_LEN 64 |
34 | 34 | ||
35 | #define NVRAM_ERR_INV_PARAM -8 | ||
36 | #define NVRAM_ERR_ENVNOTFOUND -9 | ||
37 | |||
38 | extern int nvram_getenv(char *name, char *val, size_t val_len); | 35 | extern int nvram_getenv(char *name, char *val, size_t val_len); |
39 | 36 | ||
40 | static inline void nvram_parse_macaddr(char *buf, u8 macaddr[6]) | 37 | static inline void nvram_parse_macaddr(char *buf, u8 macaddr[6]) |