diff options
Diffstat (limited to 'net/eth.c')
-rw-r--r-- | net/eth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/eth.c b/net/eth.c index de6d5c6040d..993306f0a47 100644 --- a/net/eth.c +++ b/net/eth.c @@ -102,7 +102,7 @@ struct eth_device *eth_get_dev(void) return eth_current; } -struct eth_device *eth_get_dev_by_name(char *devname) +struct eth_device *eth_get_dev_by_name(const char *devname) { struct eth_device *dev, *target_dev; |