diff options
author | Wesley Sheng <wesley.sheng@microchip.com> | 2019-04-30 06:04:29 -0400 |
---|---|---|
committer | Jon Mason <jdmason@kudzu.us> | 2019-06-13 08:59:22 -0400 |
commit | 18c8c0954d15105b02f7d2f556b9eafae426871f (patch) | |
tree | bf0b9a83f7386d7419d964267be3c8ddb97782bd | |
parent | 1e590dec3ed6852dba6fcbcc7e5300c893914fd7 (diff) |
NTB: correct ntb_dev_ops and ntb_dev comment typos
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>
-rw-r--r-- | include/linux/ntb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/ntb.h b/include/linux/ntb.h index 56a92e3ae3ae..604abc883741 100644 --- a/include/linux/ntb.h +++ b/include/linux/ntb.h | |||
@@ -205,7 +205,7 @@ static inline int ntb_ctx_ops_is_valid(const struct ntb_ctx_ops *ops) | |||
205 | } | 205 | } |
206 | 206 | ||
207 | /** | 207 | /** |
208 | * struct ntb_ctx_ops - ntb device operations | 208 | * struct ntb_dev_ops - ntb device operations |
209 | * @port_number: See ntb_port_number(). | 209 | * @port_number: See ntb_port_number(). |
210 | * @peer_port_count: See ntb_peer_port_count(). | 210 | * @peer_port_count: See ntb_peer_port_count(). |
211 | * @peer_port_number: See ntb_peer_port_number(). | 211 | * @peer_port_number: See ntb_peer_port_number(). |
@@ -404,7 +404,7 @@ struct ntb_client { | |||
404 | #define drv_ntb_client(__drv) container_of((__drv), struct ntb_client, drv) | 404 | #define drv_ntb_client(__drv) container_of((__drv), struct ntb_client, drv) |
405 | 405 | ||
406 | /** | 406 | /** |
407 | * struct ntb_device - ntb device | 407 | * struct ntb_dev - ntb device |
408 | * @dev: Linux device object. | 408 | * @dev: Linux device object. |
409 | * @pdev: PCI device entry of the ntb. | 409 | * @pdev: PCI device entry of the ntb. |
410 | * @topo: Detected topology of the ntb. | 410 | * @topo: Detected topology of the ntb. |