projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix compile warnings for const correctness
[platform/kernel/u-boot.git]
/
drivers
/
net
/
at91_emac.c
diff --git
a/drivers/net/at91_emac.c
b/drivers/net/at91_emac.c
index
0912f52
..
d82459b
100644
(file)
--- 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(c
onst c
har *devname)
{
struct eth_device *netdev;