[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220926115456.1331889-1-ruanjinjie@huawei.com>
Date: Mon, 26 Sep 2022 19:54:56 +0800
From: ruanjinjie <ruanjinjie@...wei.com>
To: <davem@...emloft.net>, <edumazet@...gle.com>, <kuba@...nel.org>,
<pabeni@...hat.com>, <linmq006@...il.com>,
<netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>
CC: <ruanjinjie@...wei.com>
Subject: [PATCH -next] net: i82596: Add __init/__exit annotations to module init/exit funcs
Add missing __init/__exit annotations to module init/exit funcs
Signed-off-by: ruanjinjie <ruanjinjie@...wei.com>
---
drivers/net/ethernet/i825xx/sni_82596.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/i825xx/sni_82596.c b/drivers/net/ethernet/i825xx/sni_82596.c
index daec9ce04531..e6c6f28b1818 100644
--- a/drivers/net/ethernet/i825xx/sni_82596.c
+++ b/drivers/net/ethernet/i825xx/sni_82596.c
@@ -173,7 +173,7 @@ static struct platform_driver sni_82596_driver = {
},
};
-static int sni_82596_init(void)
+static int __init sni_82596_init(void)
{
printk(KERN_INFO SNI_82596_DRIVER_VERSION "\n");
return platform_driver_register(&sni_82596_driver);
--
2.25.1
Powered by blists - more mailing lists