|author||Christoph Hellwig <email@example.com>||2019-08-30 08:43:12 +0200|
|committer||Christoph Hellwig <firstname.lastname@example.org>||2019-09-04 11:13:19 +0200|
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 <email@example.com> Reviewed-by: Bjorn Andersson <firstname.lastname@example.org>
Diffstat (limited to 'drivers/remoteproc')
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig
index 28ed306982f7..94afdde4bc9f 100644
@@ -2,7 +2,7 @@
menu "Remoteproc drivers"
- tristate "Support for Remote Processor subsystem"
+ bool "Support for Remote Processor subsystem"
depends on HAS_DMA