diff options
author | Bart Van Assche <bart.vanassche@sandisk.com> | 2017-01-20 16:04:34 -0500 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-01-24 12:26:17 -0500 |
commit | 5f68dcaff5524007ebaeafb45e9e9477f4da2a73 (patch) | |
tree | b49d868b37857cfdc618d54c7983dcd9dc393808 /net/rds | |
parent | e3dfa60c0a1804d5934c11cd1680e373384aa0a0 (diff) |
RDS: net: Switch from dma_device to dev.parent
Prepare for removal of ib_device.dma_device.
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
Cc: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'net/rds')
-rw-r--r-- | net/rds/ib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rds/ib.h b/net/rds/ib.h index d21ca88ab628..4a520826da23 100644 --- a/net/rds/ib.h +++ b/net/rds/ib.h | |||
@@ -223,7 +223,7 @@ struct rds_ib_device { | |||
223 | struct work_struct free_work; | 223 | struct work_struct free_work; |
224 | }; | 224 | }; |
225 | 225 | ||
226 | #define ibdev_to_node(ibdev) dev_to_node(ibdev->dma_device) | 226 | #define ibdev_to_node(ibdev) dev_to_node((ibdev)->dev.parent) |
227 | #define rdsibdev_to_node(rdsibdev) ibdev_to_node(rdsibdev->dev) | 227 | #define rdsibdev_to_node(rdsibdev) ibdev_to_node(rdsibdev->dev) |
228 | 228 | ||
229 | /* bits for i_ack_flags */ | 229 | /* bits for i_ack_flags */ |