lkml.org 
[lkml]   [2022]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH -next] Bluetooth: btrsi: Add __init/__exit annotations to module init/exit funcs
Date
Add missing __init/__exit annotations to module init/exit funcs

Signed-off-by: ruanjinjie <ruanjinjie@huawei.com>
---
drivers/bluetooth/btrsi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/bluetooth/btrsi.c b/drivers/bluetooth/btrsi.c
index 634cf8f5ed2d..1d9a04badd3c 100644
--- a/drivers/bluetooth/btrsi.c
+++ b/drivers/bluetooth/btrsi.c
@@ -179,12 +179,12 @@ const struct rsi_mod_ops rsi_bt_ops = {
};
EXPORT_SYMBOL(rsi_bt_ops);

-static int rsi_91x_bt_module_init(void)
+static int __init rsi_91x_bt_module_init(void)
{
return 0;
}

-static void rsi_91x_bt_module_exit(void)
+static void __exit rsi_91x_bt_module_exit(void)
{
return;
}
--
2.25.1
\
 
 \ /
  Last update: 2022-09-26 11:26    [W:0.035 / U:2.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site