Skip to content

Commit 4dd649d

Browse files
AdityaSrivastdavem330
authored andcommitted
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 <[email protected]> Acked-by: Randy Dunlap <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 474a2dd commit 4dd649d

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

drivers/nfc/nfcmrvl/fw_dnld.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Marvell NFC driver: Firmware downloader
33
*
44
* Copyright (C) 2015, Marvell International Ltd.

drivers/nfc/nfcmrvl/i2c.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Marvell NFC-over-I2C driver: I2C interface related functions
33
*
44
* Copyright (C) 2015, Marvell International Ltd.

drivers/nfc/nfcmrvl/nfcmrvl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Marvell NFC driver
33
*
44
* Copyright (C) 2014-2015, Marvell International Ltd.

drivers/nfc/nfcmrvl/spi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Marvell NFC-over-SPI driver: SPI interface related functions
33
*
44
* Copyright (C) 2015, Marvell International Ltd.

drivers/nfc/nfcmrvl/uart.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Marvell NFC-over-UART driver
33
*
44
* Copyright (C) 2015, Marvell International Ltd.

drivers/nfc/nfcmrvl/usb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/**
1+
/*
22
* Marvell NFC-over-USB driver: USB interface related functions
33
*
44
* Copyright (C) 2014, Marvell International Ltd.

0 commit comments

Comments
 (0)