summaryrefslogtreecommitdiff
path: root/net/eth.c
diff options
context:
space:
mode:
authorJeroen Hofstee <jeroen@myspectrum.nl>2014-10-08 22:57:36 +0200
committerTom Rini <trini@ti.com>2014-10-25 07:02:01 -0400
commit783a91fdbbf1d1d4530ca8c74d9ebae942b21378 (patch)
treed0699de08ef28ca5c0873ada99d56a003e342416 /net/eth.c
parent45f08d359f7fc7892486f73475003a2103e25421 (diff)
downloadu-boot-imx-783a91fdbbf1d1d4530ca8c74d9ebae942b21378.zip
u-boot-imx-783a91fdbbf1d1d4530ca8c74d9ebae942b21378.tar.gz
u-boot-imx-783a91fdbbf1d1d4530ca8c74d9ebae942b21378.tar.bz2
eth: make eth_address_set static
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'net/eth.c')
-rw-r--r--net/eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/eth.c b/net/eth.c
index 76ffa05..eac4f7b 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -153,7 +153,7 @@ static void eth_current_changed(void)
setenv("ethact", NULL);
}
-int eth_address_set(unsigned char *addr)
+static int eth_address_set(unsigned char *addr)
{
return memcmp(addr, "\0\0\0\0\0\0", 6);
}