Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8150ed6d authored by Sunil Paidimarri's avatar Sunil Paidimarri Committed by Lakshit Tyagi
Browse files

data-kernel: EMAC: Fix unknown symbol error



Fix the unknown symbols errors introduced due to
early ethernet code changes.

Change-Id: I60f2870fa34e5a065fa03d14d6aae6cd4ef61aa6
CRs-Fixed: 2333667
Signed-off-by: default avatarSunil Paidimarri <hisunil@codeaurora.org>
parent 341c5baf
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1834,6 +1834,7 @@ static void DWC_ETH_QOS_default_rx_confs(struct DWC_ETH_QOS_prv_data *pdata)
int DWC_ETH_QOS_add_ipv6addr(struct ip_params *ip_info, struct net_device *dev)
{
	int res=0;
#ifdef DWC_ETH_QOS_BUILTIN
	struct in6_ifreq ir6;
	char* prefix;

@@ -1858,7 +1859,7 @@ int DWC_ETH_QOS_add_ipv6addr(struct ip_params *ip_info, struct net_device *dev)
			EMACDBG("Assigned IPv6 address: %s\r\n", ip_info->ipv6_addr);

	}

#endif
	return res;
}

+2 −1
Original line number Diff line number Diff line
@@ -1405,6 +1405,7 @@ static struct of_device_id DWC_ETH_QOS_plat_drv_match[] = {
int DWC_ETH_QOS_add_ipaddr(struct ip_params *ip_info, struct net_device *dev)
{
	int res=0;
#ifdef DWC_ETH_QOS_BUILTIN
	struct ifreq ir;
	struct in6_ifreq ir6;
	struct sockaddr_in *sin = (void *) &ir.ifr_ifru.ifru_addr;
@@ -1422,7 +1423,7 @@ int DWC_ETH_QOS_add_ipaddr(struct ip_params *ip_info, struct net_device *dev)
		else
			EMACDBG("Assigned IPv4 address: %s\r\n", ip_info->ip_addr);
	}

#endif
	return res;
}

+2 −0
Original line number Diff line number Diff line
@@ -17,3 +17,5 @@ ifeq ($(CONFIG_IPA3), y)
KBUILD_CFLAGS += -DDWC_ETH_QOS_ENABLE_IPA
obj-$(CONFIG_EMAC_DWC_EQOS) += DWC_ETH_QOS_ipa.o
endif

KBUILD_CFLAGS += -DDWC_ETH_QOS_BUILTIN