From 35affd7a2ff9a77b9946bf93b616228fcf218d60 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 3 Aug 2017 12:22:14 -0600 Subject: env: Rename eth_getenv_enetaddr() to eth_env_get_enetaddr() Rename this function for consistency with env_get(). Signed-off-by: Simon Glass --- include/net.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/net.h') diff --git a/include/net.h b/include/net.h index 376cc1ebfc4..a6f90826531 100644 --- a/include/net.h +++ b/include/net.h @@ -239,7 +239,7 @@ void eth_set_current(void); /* set nterface to ethcur var */ int eth_get_dev_index(void); /* get the device index */ void eth_parse_enetaddr(const char *addr, uchar *enetaddr); -int eth_getenv_enetaddr(const char *name, uchar *enetaddr); +int eth_env_get_enetaddr(const char *name, uchar *enetaddr); int eth_env_set_enetaddr(const char *name, const uchar *enetaddr); /** @@ -275,7 +275,7 @@ int usb_ether_init(void); * Returns: * Return true if the address is valid. */ -int eth_getenv_enetaddr_by_index(const char *base_name, int index, +int eth_env_get_enetaddr_by_index(const char *base_name, int index, uchar *enetaddr); int eth_init(void); /* Initialize the device */ -- cgit v1.2.3