diff mbox series

[v2,3/8] nfc: hci: annotate nfc_llc_init() as __init

Message ID 20210730065625.34010-4-krzysztof.kozlowski@canonical.com
State New
Headers show
Series [v2,1/8] nfc: mrvl: correct nfcmrvl_spi_parse_dt() device_node argument | expand

Commit Message

Krzysztof Kozlowski July 30, 2021, 6:56 a.m. UTC
The nfc_llc_init() is used only in other __init annotated context.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
 net/nfc/hci/llc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/net/nfc/hci/llc.c b/net/nfc/hci/llc.c
index fc6b63de3462..2140f6724644 100644
--- a/net/nfc/hci/llc.c
+++ b/net/nfc/hci/llc.c
@@ -11,7 +11,7 @@ 
 
 static LIST_HEAD(llc_engines);
 
-int nfc_llc_init(void)
+int __init nfc_llc_init(void)
 {
 	int r;