ramips: 6.1: ralink: fix const warning in the ethernet driver
[openwrt/staging/wigyori.git] / target / linux / ramips / files / drivers / net / ethernet / ralink / soc_rt3050.c
index 435f007477883e83d22a8334290da6d2a413baf3..3f961797ed42471d71173ee7aceebb3d2e8b775e 100644 (file)
@@ -76,7 +76,7 @@ static void rt5350_init_data(struct fe_soc_data *data,
        netdev->hw_features = NETIF_F_SG | NETIF_F_RXCSUM;
 }
 
-static void rt5350_set_mac(struct fe_priv *priv, unsigned char *mac)
+static void rt5350_set_mac(struct fe_priv *priv, const unsigned char *mac)
 {
        unsigned long flags;