realtek: sync latest version
[openwrt/staging/blogic.git] / target / linux / realtek / files-5.4 / drivers / net / dsa / rtl83xx / dsa.c
index a0717e1d9a1e40dd98984b99abeb2e77955983e1..77805e35c1227adedee6b4ee445543a4e6c3af3d 100644 (file)
@@ -636,7 +636,7 @@ static void rtl83xx_port_bridge_leave(struct dsa_switch *ds, int port,
        mutex_unlock(&priv->reg_mutex);
 }
 
-static void rtl83xx_port_stp_state_set(struct dsa_switch *ds, int port,
+void rtl83xx_port_stp_state_set(struct dsa_switch *ds, int port,
                                       u8 state)
 {
        u32 cmd, msti = 0;
@@ -715,7 +715,7 @@ static void rtl83xx_port_stp_state_set(struct dsa_switch *ds, int port,
        mutex_unlock(&priv->reg_mutex);
 }
 
-static void rtl83xx_fast_age(struct dsa_switch *ds, int port)
+void rtl83xx_fast_age(struct dsa_switch *ds, int port)
 {
        struct rtl838x_switch_priv *priv = ds->priv;
        int s = priv->family_id == RTL8390_FAMILY_ID ? 2 : 0;