On 9/18/24 05:13, Christoph Hellwig wrote:
On Tue, Sep 17, 2024 at 09:17:40AM -0700, Lizhi Hou wrote:The get_dma_ops and set_dma_ops APIs were never for driver to use. Remove these calls from QDMA driver. Instead, pass the DMA device pointer from the qdma_platdata structure.Btw, this file should also drop the include of <linux/dma-map-ops.h>, which is clearly marked as not for driver use.
Thanks. I will remove this header and re-spin a new patch.