qca-wifi: add macro to exclude platfrom related API

API br_fdb_find_rcu() is not supported on the kernel
for QRB5165, add macro QRB5165_RB5 to exclude it.

Change-Id: Ib1199bbc64ba5ad00b4ede04f9d8bcfe87d7f615
CRs-Fixed: 2909198
diff --git a/qca_multi_link/src/qca_multi_link_tbl.c b/qca_multi_link/src/qca_multi_link_tbl.c
index c27bee7..9506b8d 100644
--- a/qca_multi_link/src/qca_multi_link_tbl.c
+++ b/qca_multi_link/src/qca_multi_link_tbl.c
@@ -193,7 +193,9 @@
 				const char *addr, uint16_t vlan_id,
 				qca_multi_link_tbl_entry_t *qca_ml_entry)
 {
+#if !QRB5165_RB5
 	struct net_bridge_fdb_entry *fdb_entry = NULL;
+#endif
 	struct net_bridge_port *fdb_port = NULL;
 	struct net_device *fdb_dev = NULL;
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0)
@@ -220,8 +222,10 @@
 	}
 
 	br = fdb_port->br;
+#if !QRB5165_RB5
 	fdb_entry = br_fdb_find_rcu(br, addr, vlan_id);
 #endif
+#endif
 
 	fdb_dev = fdb_port->dev;
 	if (!fdb_dev) {
@@ -231,7 +235,9 @@
 
 	qca_ml_entry->qal_fdb_ieee80211_ptr = fdb_dev->ieee80211_ptr;
 	qca_ml_entry->qal_fdb_dev = fdb_dev;
+#if !QRB5165_RB5
 	qca_ml_entry->qal_fdb_is_local = fdb_entry->is_local;
+#endif
 
 	return QDF_STATUS_SUCCESS;
 }