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>
This commit is contained in:
Bart Van Assche 2017-01-20 13:04:34 -08:00 committed by Doug Ledford
parent e3dfa60c0a
commit 5f68dcaff5
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ struct rds_ib_device {
struct work_struct free_work;
};
#define ibdev_to_node(ibdev) dev_to_node(ibdev->dma_device)
#define ibdev_to_node(ibdev) dev_to_node((ibdev)->dev.parent)
#define rdsibdev_to_node(rdsibdev) ibdev_to_node(rdsibdev->dev)
/* bits for i_ack_flags */