diff options
author | Wolfgang Denk <wd@denx.de> | 2010-08-10 22:57:54 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-08-10 22:57:54 +0200 |
commit | 42441b8a1a3e8b42459de60bbec6833a31cd6cd5 (patch) | |
tree | ceaa454a2a57fff3c3a64bf6f1637d61eb54672e /include/net.h | |
parent | fc21cd552bf7845fd2002e7a090d53ee5d12d335 (diff) | |
parent | d7fb9bcfb29a1cbdbda7006658e76c2d9da0f66f (diff) |
Merge branch 'master' of git://git.denx.de/u-boot-net
Diffstat (limited to 'include/net.h')
-rw-r--r-- | include/net.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net.h b/include/net.h index a180881dc7..ab571eb3ee 100644 --- a/include/net.h +++ b/include/net.h @@ -117,7 +117,7 @@ extern void eth_try_another(int first_restart); /* Change the device */ extern void eth_set_current(void); /* set nterface to ethcur var */ #endif extern struct eth_device *eth_get_dev(void); /* get the current device MAC */ -extern struct eth_device *eth_get_dev_by_name(char *devname); /* get device */ +extern struct eth_device *eth_get_dev_by_name(const char *devname); extern struct eth_device *eth_get_dev_by_index(int index); /* get dev @ index */ extern int eth_get_dev_index (void); /* get the device index */ extern void eth_parse_enetaddr(const char *addr, uchar *enetaddr); |