From: Bart Van Assche Date: Fri, 20 Jan 2017 21:04:31 +0000 (-0800) Subject: IB/iser: Switch from dma_device to dev.parent X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=61118cecf2683c082ec9bc86a8916d35c73d6e5b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git IB/iser: Switch from dma_device to dev.parent Prepare for removal of ib_device.dma_device. Signed-off-by: Bart Van Assche Cc: Sagi Grimberg Signed-off-by: Doug Ledford --- 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; }