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

Commit 61137422 authored by Sneh Shah's avatar Sneh Shah
Browse files

net: stmmac: fix compilation warnings for module



Fix compilaiton warnings when stmmac is compiled as module.

Change-Id: I1e87584e8a2a7d4384acb845f42088b681056f79
Signed-off-by: default avatarSneh Shah <snehshah@codeaurora.org>
parent 32339e54
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -289,6 +289,7 @@ int ethqos_handle_prv_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
	return ret;
}

#ifndef MODULE
static int __init set_early_ethernet_ipv4(char *ipv4_addr_in)
{
	int ret = 1;
@@ -368,6 +369,7 @@ static int __init set_early_ethernet_mac(char *mac_addr)
}

__setup("ermac=", set_early_ethernet_mac);
#endif

static int qcom_ethqos_add_ipaddr(struct ip_params *ip_info,
				  struct net_device *dev)