ramips: 6.1: ralink: fix const warning in the ethernet driver
[openwrt/staging/jow.git] / target / linux / ramips / files / drivers / net / ethernet / ralink / mtk_eth_soc.h
index 7b291ff43e5e2637319ea1e788dbb8eaf55ed27e..364dd54a58f121fc13d22b23cc0ae52a2e3f7bcc 100644 (file)
@@ -378,7 +378,7 @@ struct fe_soc_data {
        const u16 *reg_table;
 
        void (*init_data)(struct fe_soc_data *data, struct net_device *netdev);
-       void (*set_mac)(struct fe_priv *priv, unsigned char *mac);
+       void (*set_mac)(struct fe_priv *priv, const unsigned char *mac);
        int (*fwd_config)(struct fe_priv *priv);
        void (*tx_dma)(struct fe_tx_dma *txd);
        int (*switch_init)(struct fe_priv *priv);