diff options
author | Hauke Mehrtens <[email protected]> | 2010-11-27 19:26:32 +0100 |
---|---|---|
committer | Ralf Baechle <[email protected]> | 2010-12-16 18:11:00 +0000 |
commit | 3f84622d7c7818077f5e6cf4b8a0d1b10dc65147 (patch) | |
tree | b110a169f55befc5a0b8ed112562efa8ec511874 /net/unix/sysctl_net_unix.c | |
parent | 1690a7f9ab83f5c823f3044275a4a771a059d5bb (diff) |
SSB: Fix nvram_get on BCM47xx platform
The nvram_get function was never in the mainline kernel, it only existed in
an external OpenWrt patch. Use nvram_getenv function, which is in mainline
and use an include instead of an extra function declaration. et0macaddr
contains the mac address in text from like 00:11:22:33:44:55. We have to
parse it before adding it into macaddr.
nvram_parse_macaddr will be merged into asm/mach-bcm47xx/nvram.h through
the MIPS git tree and will be available soon. It will not build now without
nvram_parse_macaddr, but it hasn't before either.
Signed-off-by: Hauke Mehrtens <[email protected]>
To: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: Hauke Mehrtens <[email protected]>
Acked-by: Michael Buesch <[email protected]>
Patchwork: https://patchwork.linux-mips.org/patch/1849/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions