eth: make eth_address_set static
authorJeroen Hofstee <jeroen@myspectrum.nl>
Wed, 8 Oct 2014 20:57:36 +0000 (22:57 +0200)
committerTom Rini <trini@ti.com>
Sat, 25 Oct 2014 11:02:01 +0000 (07:02 -0400)
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
net/eth.c

index 76ffa05608adcaffb9bf3f888b4983a6a17cfcd4..eac4f7b3d0ed602c852d0f47dd9580670f8292da 100644 (file)
--- 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);
 }