summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/pasemi
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-03-19 18:39:06 +0300
committerDavid S. Miller <davem@davemloft.net>2019-03-20 00:13:37 +0300
commit64c40525849f4eb8e6c10b5bbba3c2a2e942bfa6 (patch)
treee98cd163e1655007eb7da6c83ed32bb1a99664e2 /drivers/net/ethernet/pasemi
parent9403cf2302588022d06f1878b072d3f6933021f0 (diff)
downloadlinux-64c40525849f4eb8e6c10b5bbba3c2a2e942bfa6.tar.xz
net: pasemi: Make pasemi_mac_init_module static
Fix sparse warning: drivers/net/ethernet/pasemi/pasemi_mac.c:1842:5: warning: symbol 'pasemi_mac_init_module' was not declared. Should it be static? Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/pasemi')
-rw-r--r--drivers/net/ethernet/pasemi/pasemi_mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/pasemi/pasemi_mac.c b/drivers/net/ethernet/pasemi/pasemi_mac.c
index a5bf46310f60..55d686ed8cdf 100644
--- a/drivers/net/ethernet/pasemi/pasemi_mac.c
+++ b/drivers/net/ethernet/pasemi/pasemi_mac.c
@@ -1839,7 +1839,7 @@ static void __exit pasemi_mac_cleanup_module(void)
pci_unregister_driver(&pasemi_mac_driver);
}
-int pasemi_mac_init_module(void)
+static int pasemi_mac_init_module(void)
{
int err;