mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 08:42:12 +02:00
net: change the env name to use const
As we don't modify the 'name' parameter, so change it to const. Signed-off-by: Josh Wu <josh.wu@atmel.com> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
@@ -233,8 +233,8 @@ 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(char *name, uchar *enetaddr);
|
||||
int eth_setenv_enetaddr(char *name, const uchar *enetaddr);
|
||||
int eth_getenv_enetaddr(const char *name, uchar *enetaddr);
|
||||
int eth_setenv_enetaddr(const char *name, const uchar *enetaddr);
|
||||
|
||||
/*
|
||||
* Get the hardware address for an ethernet interface .
|
||||
|
Reference in New Issue
Block a user