[][MAC80211][core][Fix DSA patch fail issue]

[Description]
Fix DSA patch fail issue.

If without this patch, DSA slave will patch failure.

[Release-log]
N/A


Change-Id: Id945b652211a7d9107f3193b06ea82bdf78ef46a
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/6894575
diff --git a/autobuild_mac80211_release/target/linux/mediatek/patches-5.4/9990-mt7622-backport-nf-hw-offload-framework-and-ups.patch b/autobuild_mac80211_release/target/linux/mediatek/patches-5.4/9990-mt7622-backport-nf-hw-offload-framework-and-ups.patch
index 9b4cd67..55234b3 100755
--- a/autobuild_mac80211_release/target/linux/mediatek/patches-5.4/9990-mt7622-backport-nf-hw-offload-framework-and-ups.patch
+++ b/autobuild_mac80211_release/target/linux/mediatek/patches-5.4/9990-mt7622-backport-nf-hw-offload-framework-and-ups.patch
@@ -3008,15 +3008,6 @@
 index 036fda317..2dfaa1eac 100644
 --- a/net/dsa/slave.c
 +++ b/net/dsa/slave.c
-@@ -22,8 +22,6 @@
- 
- #include "dsa_priv.h"
- 
--static bool dsa_slave_dev_check(const struct net_device *dev);
--
- /* slave mii_bus handling ***************************************************/
- static int dsa_slave_phy_read(struct mii_bus *bus, int addr, int reg)
- {
 @@ -1033,14 +1031,32 @@ static int dsa_slave_setup_tc_block(struct net_device *dev,
  	}
  }
@@ -3081,12 +3072,8 @@
  };
  
  static struct device_type dsa_type = {
-@@ -1497,10 +1529,11 @@ void dsa_slave_destroy(struct net_device *slave_dev)
- 	free_netdev(slave_dev);
- }
- 
--static bool dsa_slave_dev_check(const struct net_device *dev)
-+bool dsa_slave_dev_check(const struct net_device *dev)
+@@ -1497,7 +1529,8 @@ void dsa_slave_destroy(struct net_device *slave_dev)
+ bool dsa_slave_dev_check(const struct net_device *dev)
  {
  	return dev->netdev_ops == &dsa_slave_netdev_ops;
  }