[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190319153906.16076-1-yuehaibing@huawei.com>
Date: Tue, 19 Mar 2019 23:39:06 +0800
From: Yue Haibing <yuehaibing@...wei.com>
To: <davem@...emloft.net>, <keescook@...omium.org>,
<mcgrof@...nel.org>, <mpe@...erman.id.au>
CC: <linux-kernel@...r.kernel.org>, <netdev@...r.kernel.org>,
YueHaibing <yuehaibing@...wei.com>
Subject: [PATCH net-next] net: pasemi: Make pasemi_mac_init_module static
From: YueHaibing <yuehaibing@...wei.com>
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@...wei.com>
---
drivers/net/ethernet/pasemi/pasemi_mac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/pasemi/pasemi_mac.c b/drivers/net/ethernet/pasemi/pasemi_mac.c
index a5bf463..382fdc8 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;
--
2.7.4
Powered by blists - more mailing lists