[net-next,04/10] net: fill in MODULE_DESCRIPTION()s for NFC
Commit Message
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>
---
net/nfc/digital_core.c | 1 +
net/nfc/nci/core.c | 1 +
net/nfc/nci/spi.c | 1 +
3 files changed, 3 insertions(+)
Comments
On 08/01/2024 19:16, Breno Leitao wrote:
> 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>
> ---
> net/nfc/digital_core.c | 1 +
> net/nfc/nci/core.c | 1 +
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Best regards,
Krzysztof
@@ -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");
@@ -1577,4 +1577,5 @@ static void nci_cmd_work(struct work_struct *work)
}
}
+MODULE_DESCRIPTION("NFC Controller Interface");
MODULE_LICENSE("GPL");
@@ -319,4 +319,5 @@ struct sk_buff *nci_spi_read(struct nci_spi *nspi)
}
EXPORT_SYMBOL_GPL(nci_spi_read);
+MODULE_DESCRIPTION("NFC Controller Interface (NCI) SPI link layer");
MODULE_LICENSE("GPL");