summaryrefslogtreecommitdiff
path: root/drivers/net/at91_emac.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/at91_emac.c')
-rw-r--r--drivers/net/at91_emac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/at91_emac.c b/drivers/net/at91_emac.c
index 0912f52..d82459b 100644
--- a/drivers/net/at91_emac.c
+++ b/drivers/net/at91_emac.c
@@ -162,7 +162,7 @@ int at91emac_write(at91_emac_t *at91mac, unsigned char addr,
#if defined(CONFIG_MII) || defined(CONFIG_CMD_MII)
-at91_emac_t *get_emacbase_by_name(char *devname)
+at91_emac_t *get_emacbase_by_name(const char *devname)
{
struct eth_device *netdev;