rapidio: Replace 'select' DMAENGINES 'with depends on'
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 28 Jul 2020 22:19:40 +0000 (01:19 +0300)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sat, 5 Sep 2020 16:52:54 +0000 (19:52 +0300)
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>
drivers/rapidio/Kconfig

index e4c422d806bee0728d2e51fff25c5881e533d70f..b9f8514909bf016df3bced3d5e53b221355d72c5 100644 (file)
@@ -37,7 +37,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