ramips: 6.1: ralink: fix const warning in the ethernet driver
[openwrt/staging/wigyori.git] / target / linux / ramips / files / drivers / net / ethernet / ralink / soc_mt7620.c
index 172dda11b75575915cbb82ec79337b3a885286bc..e2b2aceff958fc20f942a76165377f0b480c876a 100644 (file)
@@ -107,7 +107,7 @@ static int mt7620_gsw_config(struct fe_priv *priv)
        return 0;
 }
 
-static void mt7620_set_mac(struct fe_priv *priv, unsigned char *mac)
+static void mt7620_set_mac(struct fe_priv *priv, const unsigned char *mac)
 {
        struct mt7620_gsw *gsw = (struct mt7620_gsw *)priv->soc->swpriv;
        unsigned long flags;