nfc: hci: annotate nfc_llc_init() as __init
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Fri, 30 Jul 2021 14:41:58 +0000 (16:41 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 30 Jul 2021 15:22:51 +0000 (17:22 +0200)
The nfc_llc_init() is used only in other __init annotated context.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/nfc/hci/llc.c

index fc6b63de346259566e782ad6fdbc8b1f68d0cdcd..2140f67246441622bd616c5b6d3d1cc434853241 100644 (file)
@@ -11,7 +11,7 @@
 
 static LIST_HEAD(llc_engines);
 
-int nfc_llc_init(void)
+int __init nfc_llc_init(void)
 {
        int r;