summaryrefslogtreecommitdiff
path: root/drivers/nfc/nfcmrvl/spi.c
diff options
context:
space:
mode:
authorAditya Srivastava <yashsri421@gmail.com>2021-05-24 00:09:09 +0300
committerDavid S. Miller <davem@davemloft.net>2021-05-24 03:26:38 +0300
commit4dd649d130c634415c26df771e09e373f77fc688 (patch)
tree0de0ba2c3540001323b6478a9f9bbe12920b0267 /drivers/nfc/nfcmrvl/spi.c
parent474a2ddaa192777522a7499784f1d60691cd831a (diff)
downloadlinux-4dd649d130c634415c26df771e09e373f77fc688.tar.xz
NFC: nfcmrvl: fix kernel-doc syntax in file headers
The opening comment mark '/**' is used for highlighting the beginning of kernel-doc comments. The header for drivers/nfc/nfcmrvl follows this syntax, but the content inside does not comply with kernel-doc. This line was probably not meant for kernel-doc parsing, but is parsed due to the presence of kernel-doc like comment syntax(i.e, '/**'), which causes unexpected warnings from kernel-doc. For e.g., running scripts/kernel-doc -none on drivers/nfc/nfcmrvl/spi.c causes warning: warning: expecting prototype for Marvell NFC(). Prototype was for SPI_WAIT_HANDSHAKE() instead Provide a simple fix by replacing such occurrences with general comment format, i.e. '/*', to prevent kernel-doc from parsing it. Signed-off-by: Aditya Srivastava <yashsri421@gmail.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/nfc/nfcmrvl/spi.c')
-rw-r--r--drivers/nfc/nfcmrvl/spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nfc/nfcmrvl/spi.c b/drivers/nfc/nfcmrvl/spi.c
index 8e0ddb434770..dec0d3eb3648 100644
--- a/drivers/nfc/nfcmrvl/spi.c
+++ b/drivers/nfc/nfcmrvl/spi.c
@@ -1,4 +1,4 @@
-/**
+/*
* Marvell NFC-over-SPI driver: SPI interface related functions
*
* Copyright (C) 2015, Marvell International Ltd.