diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2015-04-08 06:41:04 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-04-18 17:11:32 (GMT) |
commit | 0adb5b761f4c789ae47d8abb015f5e017263d3f2 (patch) | |
tree | 84f951f300ae9d8d0a48c9ab14f11c9c1ecef477 /drivers/net/ftmac110.c | |
parent | 586cbe51ab8ef357bcf3a52c6885ab00bc7293dd (diff) | |
download | u-boot-0adb5b761f4c789ae47d8abb015f5e017263d3f2.tar.xz |
net: cosmetic: Name ethaddr variables consistently
Use "_ethaddr" at the end of variables and drop CamelCase.
Make constant values actually 'const'.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/net/ftmac110.c')
-rw-r--r-- | drivers/net/ftmac110.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ftmac110.c b/drivers/net/ftmac110.c index 98c4f09..aef89a2 100644 --- a/drivers/net/ftmac110.c +++ b/drivers/net/ftmac110.c @@ -425,7 +425,7 @@ int ftmac110_initialize(bd_t *bis) dev->recv = ftmac110_recv; if (!eth_getenv_enetaddr_by_index("eth", card_nr, dev->enetaddr)) - eth_random_addr(dev->enetaddr); + net_random_ethaddr(dev->enetaddr); /* allocate tx descriptors (it must be 16 bytes aligned) */ chip->txd = dma_alloc_coherent( |