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:
parent
e3dfa60c0a
commit
5f68dcaff5
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue