OSDN Git Service

NFC: digital: Correct function name in the kerneldoc comments
authorXiongfeng Wang <wangxiongfeng2@huawei.com>
Sat, 27 Mar 2021 08:15:56 +0000 (16:15 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Mar 2021 00:56:56 +0000 (17:56 -0700)
Fix the following W=1 kernel build warning(s):

 net/nfc/digital_core.c:473: warning: expecting prototype for start_poll operation(). Prototype was for digital_start_poll() instead

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Xiongfeng Wang <wangxiongfeng2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/nfc/digital_core.c

index da7e211..5044c7d 100644 (file)
@@ -457,7 +457,7 @@ static void digital_add_poll_tech(struct nfc_digital_dev *ddev, u8 rf_tech,
 }
 
 /**
- * start_poll operation
+ * digital_start_poll - start_poll operation
  * @nfc_dev: device to be polled
  * @im_protocols: bitset of nfc initiator protocols to be used for polling
  * @tm_protocols: bitset of nfc transport protocols to be used for polling