kernel/drivers/media/platform/rcar-fcp.c
.. .. @@ -22,7 +22,6 @@ 22 22 struct rcar_fcp_device { 23 23 struct list_head list; 24 24 struct device *dev; 25 - struct device_dma_parameters dma_parms;26 25 }; 27 26 28 27 static LIST_HEAD(fcp_devices); .. .. @@ -140,8 +139,7 @@ 140 139 141 140 fcp->dev = &pdev->dev; 142 141 143 - fcp->dev->dma_parms = &fcp->dma_parms;144 - dma_set_max_seg_size(fcp->dev, DMA_BIT_MASK(32));142 + dma_set_max_seg_size(fcp->dev, UINT_MAX);145 143 146 144 pm_runtime_enable(&pdev->dev); 147 145