mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
net: stmmac: fix compilation warnings for module
Fix compilaiton warnings when stmmac is compiled as module. Change-Id: I1e87584e8a2a7d4384acb845f42088b681056f79 Signed-off-by: Sneh Shah <snehshah@codeaurora.org>
This commit is contained in:
parent
32339e54ac
commit
61137422c4
1 changed files with 2 additions and 0 deletions
|
|
@ -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 @@ fail:
|
|||
}
|
||||
|
||||
__setup("ermac=", set_early_ethernet_mac);
|
||||
#endif
|
||||
|
||||
static int qcom_ethqos_add_ipaddr(struct ip_params *ip_info,
|
||||
struct net_device *dev)
|
||||
|
|
|
|||
Loading…
Reference in a new issue