]> Git Repo - u-boot.git/blobdiff - drivers/net/at91_emac.c
miiphy: constify device name
[u-boot.git] / drivers / net / at91_emac.c
index 245da121b94d520e12eb562641c12945ae6aaa8c..0912f52822cd21d311fb3a28c21a5688544cf9da 100644 (file)
@@ -170,7 +170,7 @@ at91_emac_t *get_emacbase_by_name(char *devname)
        return (at91_emac_t *) netdev->iobase;
 }
 
-int  at91emac_mii_read(char *devname, unsigned char addr,
+int  at91emac_mii_read(const char *devname, unsigned char addr,
                unsigned char reg, unsigned short *value)
 {
        at91_emac_t *emac;
@@ -181,7 +181,7 @@ int  at91emac_mii_read(char *devname, unsigned char addr,
 }
 
 
-int  at91emac_mii_write(char *devname, unsigned char addr,
+int  at91emac_mii_write(const char *devname, unsigned char addr,
                unsigned char reg, unsigned short value)
 {
        at91_emac_t *emac;
This page took 0.02345 seconds and 4 git commands to generate.