diff options
author | Christoph Hellwig <hch@lst.de> | 2019-08-30 08:43:12 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2019-09-04 11:13:19 +0200 |
commit | 6334150e9a36467e253371c923a23955c831a295 (patch) | |
tree | 31dc0e3c2df0ad2bb41f1db6240add56da4c9583 /kernel/dma/coherent.c | |
parent | 7a01ee42209c00e551c7cfb581be7a207a376f00 (diff) | |
download | linux-6334150e9a36467e253371c923a23955c831a295.tar.gz linux-6334150e9a36467e253371c923a23955c831a295.tar.bz2 linux-6334150e9a36467e253371c923a23955c831a295.zip |
remoteproc: don't allow modular build
Remoteproc started using dma_declare_coherent_memory recently, which is
a bad idea from drivers, and the maintainers agreed to fix that. But
until that is fixed only allow building the driver built in so that we
can remove the dma_declare_coherent_memory export and prevent other
drivers from "accidentally" using it like remoteproc. Note that the
driver would also leak the declared coherent memory on unload if it
actually was built as a module at the moment.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Diffstat (limited to 'kernel/dma/coherent.c')
0 files changed, 0 insertions, 0 deletions