diff mbox series

[v3,3/7] nfc: hci: annotate nfc_llc_init() as __init

Message ID 20210730144202.255890-4-krzysztof.kozlowski@canonical.com
State Superseded
Headers show
Series [v3,1/7] nfc: mrvl: correct nfcmrvl_spi_parse_dt() device_node argument | expand

Commit Message

Krzysztof Kozlowski July 30, 2021, 2:41 p.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;