net: fill in MODULE_DESCRIPTION()s for NFC
authorBreno Leitao <leitao@debian.org>
Mon, 8 Jan 2024 18:16:04 +0000 (10:16 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 12 Jan 2024 00:16:08 +0000 (16:16 -0800)
W=1 builds now warn if module is built without a MODULE_DESCRIPTION().
Add descriptions to all NFC Controller Interface (NCI) modules.

Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240108181610.2697017-5-leitao@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/nfc/digital_core.c
net/nfc/nci/core.c
net/nfc/nci/spi.c

index d63d2e5..dae378f 100644 (file)
@@ -858,4 +858,5 @@ void nfc_digital_unregister_device(struct nfc_digital_dev *ddev)
 }
 EXPORT_SYMBOL(nfc_digital_unregister_device);
 
+MODULE_DESCRIPTION("NFC Digital protocol stack");
 MODULE_LICENSE("GPL");
index 6c9592d..97348ce 100644 (file)
@@ -1577,4 +1577,5 @@ static void nci_cmd_work(struct work_struct *work)
        }
 }
 
+MODULE_DESCRIPTION("NFC Controller Interface");
 MODULE_LICENSE("GPL");
index b68150c..6a93533 100644 (file)
@@ -319,4 +319,5 @@ done:
 }
 EXPORT_SYMBOL_GPL(nci_spi_read);
 
+MODULE_DESCRIPTION("NFC Controller Interface (NCI) SPI link layer");
 MODULE_LICENSE("GPL");