Commit 5f68dcaf authored by Bart Van Assche's avatar Bart Van Assche Committed by Doug Ledford

RDS: net: Switch from dma_device to dev.parent

Prepare for removal of ib_device.dma_device.
Signed-off-by: default avatarBart Van Assche <bart.vanassche@sandisk.com>
Cc: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Acked-by: default avatarSantosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent e3dfa60c
...@@ -223,7 +223,7 @@ struct rds_ib_device { ...@@ -223,7 +223,7 @@ struct rds_ib_device {
struct work_struct free_work; 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) #define rdsibdev_to_node(rdsibdev) ibdev_to_node(rdsibdev->dev)
/* bits for i_ack_flags */ /* bits for i_ack_flags */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment