ramips: 6.1: ralink: fix const warning in the ethernet driver
[openwrt/openwrt.git] / target / linux / ramips / files / drivers / net / ethernet / ralink / mtk_eth_soc.c
index c741c85f4a5599c8624a15009a2af37e19b59d6d..03e65a0c8a6d0fff6f35d22d0721b0a924c02c9a 100644 (file)
@@ -152,7 +152,7 @@ static inline void fe_int_enable(u32 mask)
        fe_reg_r32(FE_REG_FE_INT_ENABLE);
 }
 
-static inline void fe_hw_set_macaddr(struct fe_priv *priv, unsigned char *mac)
+static inline void fe_hw_set_macaddr(struct fe_priv *priv, const unsigned char *mac)
 {
        unsigned long flags;