net: change the env name to use const
authorJosh Wu <josh.wu@atmel.com>
Tue, 1 Sep 2015 10:22:55 +0000 (18:22 +0800)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 28 Oct 2015 20:01:10 +0000 (15:01 -0500)
commit219cc94a3f3440ea9c5a29d6b114b371a6aec430
tree3cd5c99cfc33f9122c70f9411b7d493a97fa1584
parent7aba0f2c2ce80406661ea2dc79ea1892cc93a26f
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>
include/net.h
net/eth.c