summaryrefslogtreecommitdiff
path: root/drivers/net/bfin_mac.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-08-10 22:57:54 +0200
committerWolfgang Denk <wd@denx.de>2010-08-10 22:57:54 +0200
commit42441b8a1a3e8b42459de60bbec6833a31cd6cd5 (patch)
treeceaa454a2a57fff3c3a64bf6f1637d61eb54672e /drivers/net/bfin_mac.c
parentfc21cd552bf7845fd2002e7a090d53ee5d12d335 (diff)
parentd7fb9bcfb29a1cbdbda7006658e76c2d9da0f66f (diff)
downloadu-boot-imx-42441b8a1a3e8b42459de60bbec6833a31cd6cd5.zip
u-boot-imx-42441b8a1a3e8b42459de60bbec6833a31cd6cd5.tar.gz
u-boot-imx-42441b8a1a3e8b42459de60bbec6833a31cd6cd5.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-net
Diffstat (limited to 'drivers/net/bfin_mac.c')
-rw-r--r--drivers/net/bfin_mac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/bfin_mac.c b/drivers/net/bfin_mac.c
index e691bdf..36d4046 100644
--- a/drivers/net/bfin_mac.c
+++ b/drivers/net/bfin_mac.c
@@ -71,7 +71,7 @@ static int bfin_miiphy_wait(void)
return 0;
}
-static int bfin_miiphy_read(char *devname, uchar addr, uchar reg, ushort *val)
+static int bfin_miiphy_read(const char *devname, uchar addr, uchar reg, ushort *val)
{
if (bfin_miiphy_wait())
return 1;
@@ -82,7 +82,7 @@ static int bfin_miiphy_read(char *devname, uchar addr, uchar reg, ushort *val)
return 0;
}
-static int bfin_miiphy_write(char *devname, uchar addr, uchar reg, ushort val)
+static int bfin_miiphy_write(const char *devname, uchar addr, uchar reg, ushort val)
{
if (bfin_miiphy_wait())
return 1;