diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-03-19 18:39:06 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-20 00:13:37 +0300 |
commit | 64c40525849f4eb8e6c10b5bbba3c2a2e942bfa6 (patch) | |
tree | e98cd163e1655007eb7da6c83ed32bb1a99664e2 /drivers/net/ethernet/pasemi | |
parent | 9403cf2302588022d06f1878b072d3f6933021f0 (diff) | |
download | linux-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.c | 2 |
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; |