summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/ulp/iser/iscsi_iser.c
diff options
context:
space:
mode:
authorBart Van Assche <bart.vanassche@sandisk.com>2017-01-20 13:04:31 -0800
committerDoug Ledford <dledford@redhat.com>2017-01-24 12:26:17 -0500
commit61118cecf2683c082ec9bc86a8916d35c73d6e5b (patch)
treeb6ab8a380633a17d2461f07c7009b1b58c377d44 /drivers/infiniband/ulp/iser/iscsi_iser.c
parentdb97ed0a2edfb2903c790d86e15d15baa1edf95d (diff)
downloadlinux-61118cecf2683c082ec9bc86a8916d35c73d6e5b.tar.gz
linux-61118cecf2683c082ec9bc86a8916d35c73d6e5b.tar.bz2
linux-61118cecf2683c082ec9bc86a8916d35c73d6e5b.zip
IB/iser: 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: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/ulp/iser/iscsi_iser.c')
-rw-r--r--drivers/infiniband/ulp/iser/iscsi_iser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/iser/iscsi_iser.c b/drivers/infiniband/ulp/iser/iscsi_iser.c
index 9104e6b8cac9..da3caef1b7cb 100644
--- a/drivers/infiniband/ulp/iser/iscsi_iser.c
+++ b/drivers/infiniband/ulp/iser/iscsi_iser.c
@@ -659,7 +659,7 @@ iscsi_iser_session_create(struct iscsi_endpoint *ep,
ib_conn->device->ib_device->attrs.max_fast_reg_page_list_len);
if (iscsi_host_add(shost,
- ib_conn->device->ib_device->dma_device)) {
+ ib_conn->device->ib_device->dev.parent)) {
mutex_unlock(&iser_conn->state_mutex);
goto free_host;
}