gpu: arm: midgard: remove set_dma_ops
authorJoonyoung Shim <jy0922.shim@samsung.com>
Tue, 10 Mar 2015 01:07:08 +0000 (10:07 +0900)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 13 Apr 2015 10:44:58 +0000 (12:44 +0200)
Don't use set_dma_ops since commit 9d3bfbb4df58 ("arm64: Combine
coherent and non-coherent swiotlb dma_ops")

Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
drivers/gpu/arm/midgard/mali_kbase_device.c

index 77dac87b98e4e87f311f1a0d2022a8d9d4ebabfb..7d6552118babd5023444675b9727b9593f44aa34 100644 (file)
@@ -97,10 +97,6 @@ int kbase_device_init(struct kbase_device * const kbdev)
        /* Set the list of features available on the current HW (identified by the GPU_ID register) */
        kbase_hw_set_features_mask(kbdev);
 
-#if defined(CONFIG_ARM64)
-       set_dma_ops(kbdev->dev, &noncoherent_swiotlb_dma_ops);
-#endif
-
        /* Workaround a pre-3.13 Linux issue, where dma_mask is NULL when our
         * device structure was created by device-tree
         */