projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf6cd77
)
nfc: hci: annotate nfc_llc_init() as __init
author
Krzysztof Kozlowski
<krzysztof.kozlowski@canonical.com>
Fri, 30 Jul 2021 14:41:58 +0000
(16:41 +0200)
committer
Jakub 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
patch
|
blob
|
history
diff --git
a/net/nfc/hci/llc.c
b/net/nfc/hci/llc.c
index fc6b63de346259566e782ad6fdbc8b1f68d0cdcd..2140f67246441622bd616c5b6d3d1cc434853241 100644
(file)
--- 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;