Browse Source

msm: ipa3: fix compilation error in ipa_clients file

Adding changes to use ipa_fwmk ipa_is_vlan_mode API's
instead of ipa3_is_vlan_mode in ipa_clients to fix
compilation error.

Change-Id: Id5b4d713ef6b609d40935131148d501ed20eb855
Signed-off-by: Jagadeesh Ponduru <[email protected]>
Jagadeesh Ponduru 2 years ago
parent
commit
ae2dfd8dc9
1 changed files with 3 additions and 3 deletions
  1. 3 3
      drivers/platform/msm/ipa/ipa_clients/ipa_eth.c

+ 3 - 3
drivers/platform/msm/ipa/ipa_clients/ipa_eth.c

@@ -861,19 +861,19 @@ static int ipa_eth_client_reg_intf_internal(struct ipa_eth_intf_info *intf)
 	IPA_ETH_DBG("register interface for netdev %s\n", intf->net_dev->name);
 	/* multiple attach support */
 	if (strnstr(intf->net_dev->name, STR_ETH0_IFACE, strlen(intf->net_dev->name))) {
-		ret = ipa3_is_vlan_mode(IPA_VLAN_IF_ETH0, &vlan_mode);
+		ret = ipa_is_vlan_mode(IPA_VLAN_IF_ETH0, &vlan_mode);
 		if (ret) {
 			IPA_ETH_ERR("Could not determine IPA VLAN mode\n");
 			return ret;
 		}
 	} else if (strnstr(intf->net_dev->name, STR_ETH1_IFACE, strlen(intf->net_dev->name))) {
-		ret = ipa3_is_vlan_mode(IPA_VLAN_IF_ETH1, &vlan_mode);
+		ret = ipa_is_vlan_mode(IPA_VLAN_IF_ETH1, &vlan_mode);
 		if (ret) {
 			IPA_ETH_ERR("Could not determine IPA VLAN mode\n");
 			return ret;
 		}
 	} else {
-		ret = ipa3_is_vlan_mode(IPA_VLAN_IF_ETH, &vlan_mode);
+		ret = ipa_is_vlan_mode(IPA_VLAN_IF_ETH, &vlan_mode);
 		if (ret) {
 			IPA_ETH_ERR("Could not determine IPA VLAN mode\n");
 			return ret;