]> git.sur5r.net Git - u-boot/blobdiff - drivers/net/designware.c
Merge branch 'master' of git://git.denx.de/u-boot-arm
[u-boot] / drivers / net / designware.c
index d0d98277ea4c6d482c92fa7c2d98a63ca97def69..2f923f26f90af59f89e315f8018a5966dfc010c2 100644 (file)
@@ -451,7 +451,7 @@ static int configure_phy(struct eth_device *dev)
 }
 
 #if defined(CONFIG_MII)
-static int dw_mii_read(char *devname, u8 addr, u8 reg, u16 *val)
+static int dw_mii_read(const char *devname, u8 addr, u8 reg, u16 *val)
 {
        struct eth_device *dev;
 
@@ -462,7 +462,7 @@ static int dw_mii_read(char *devname, u8 addr, u8 reg, u16 *val)
        return 0;
 }
 
-static int dw_mii_write(char *devname, u8 addr, u8 reg, u16 val)
+static int dw_mii_write(const char *devname, u8 addr, u8 reg, u16 val)
 {
        struct eth_device *dev;