NTB: correct ntb_dev_ops and ntb_dev comment typos
authorWesley Sheng <wesley.sheng@microchip.com>
Tue, 30 Apr 2019 10:04:29 +0000 (18:04 +0800)
committerJon Mason <jdmason@kudzu.us>
Thu, 13 Jun 2019 12:59:22 +0000 (08:59 -0400)
The comment for ntb_dev_ops and ntb_dev incorrectly referred to
ntb_ctx_ops and ntb_device.

Signed-off-by: Wesley Sheng <wesley.sheng@microchip.com>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
include/linux/ntb.h

index 56a92e3ae3ae5f0785c74eabcb56ae90a4a10b93..604abc8837417238f83ccfd129c21ccd7c787071 100644 (file)
@@ -205,7 +205,7 @@ static inline int ntb_ctx_ops_is_valid(const struct ntb_ctx_ops *ops)
 }
 
 /**
- * struct ntb_ctx_ops - ntb device operations
+ * struct ntb_dev_ops - ntb device operations
  * @port_number:       See ntb_port_number().
  * @peer_port_count:   See ntb_peer_port_count().
  * @peer_port_number:  See ntb_peer_port_number().
@@ -404,7 +404,7 @@ struct ntb_client {
 #define drv_ntb_client(__drv) container_of((__drv), struct ntb_client, drv)
 
 /**
- * struct ntb_device - ntb device
+ * struct ntb_dev - ntb device
  * @dev:               Linux device object.
  * @pdev:              PCI device entry of the ntb.
  * @topo:              Detected topology of the ntb.