summaryrefslogtreecommitdiffstats
path: root/net
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
parent45f08d359f7fc7892486f73475003a2103e25421 (diff)
downloadtalos-obmc-uboot-783a91fdbbf1d1d4530ca8c74d9ebae942b21378.tar.gz
talos-obmc-uboot-783a91fdbbf1d1d4530ca8c74d9ebae942b21378.zip
eth: make eth_address_set static
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Diffstat (limited to 'net')
-rw-r--r--net/eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/eth.c b/net/eth.c
index 76ffa05608..eac4f7b3d0 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);
}
OpenPOWER on IntegriCloud