summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-07-29 01:19:40 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-09-23 08:46:15 +0200
commit0b1c191f84179270821d7877403d67b5e86f7167 (patch)
tree697fddc2a6ae08343e6fd9dd584bf3fe20be5fb3
parenta306c34f956ecf70bea8ccb4645fbbf375ec5956 (diff)
downloadlinux-stable-0b1c191f84179270821d7877403d67b5e86f7167.tar.gz
linux-stable-0b1c191f84179270821d7877403d67b5e86f7167.tar.bz2
linux-stable-0b1c191f84179270821d7877403d67b5e86f7167.zip
rapidio: Replace 'select' DMAENGINES 'with depends on'
[ Upstream commit d2b86100245080cfdf1e95e9e07477474c1be2bd ] Enabling a whole subsystem from a single driver 'select' is frowned upon and won't be accepted in new drivers, that need to use 'depends on' instead. Existing selection of DMAENGINES will then cause circular dependencies. Replace them with a dependency. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
-rw-r--r--drivers/rapidio/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rapidio/Kconfig b/drivers/rapidio/Kconfig
index d6d2f20c4597..21df2816def7 100644
--- a/drivers/rapidio/Kconfig
+++ b/drivers/rapidio/Kconfig
@@ -25,7 +25,7 @@ config RAPIDIO_ENABLE_RX_TX_PORTS
config RAPIDIO_DMA_ENGINE
bool "DMA Engine support for RapidIO"
depends on RAPIDIO
- select DMADEVICES
+ depends on DMADEVICES
select DMA_ENGINE
help
Say Y here if you want to use DMA Engine frameork for RapidIO data