diff options
author | Christoph Hellwig <hch@lst.de> | 2020-09-11 10:56:03 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-10-06 07:07:03 +0200 |
commit | 5af638931eb374aa0894d8343cee72f50307ef20 (patch) | |
tree | 1019958fe55ef03dada9b48da1dc4117c7f7bcd8 /arch/arm/mach-davinci/devices-da8xx.c | |
parent | dma-contiguous: remove dma_declare_contiguous (diff) | |
download | linux-5af638931eb374aa0894d8343cee72f50307ef20.tar.xz linux-5af638931eb374aa0894d8343cee72f50307ef20.zip |
dma-contiguous: remove dev_set_cma_area
dev_set_cma_area contains a trivial assignment. It has just three
callers that all have a non-NULL device and depend on CONFIG_DMA_CMA,
so remove the wrapper.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch/arm/mach-davinci/devices-da8xx.c')
-rw-r--r-- | arch/arm/mach-davinci/devices-da8xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/devices-da8xx.c b/arch/arm/mach-davinci/devices-da8xx.c index 2e2853582b45..1207eabe8d1c 100644 --- a/arch/arm/mach-davinci/devices-da8xx.c +++ b/arch/arm/mach-davinci/devices-da8xx.c @@ -905,7 +905,7 @@ void __init da8xx_rproc_reserve_cma(void) __func__, ret); return; } - dev_set_cma_area(&da8xx_dsp.dev, cma); + da8xx_dsp.dev.cma_area = cma; rproc_mem_inited = true; } #else |