dmaengine: Build bcm-sba-raid driver as loadable module for iProc SoCs
authorAnup Patel <anup.patel@broadcom.com>
Tue, 3 Oct 2017 05:23:00 +0000 (10:53 +0530)
committerVinod Koul <vinod.koul@intel.com>
Mon, 23 Oct 2017 06:05:47 +0000 (11:35 +0530)
By default, we build Broadcom SBA RAID driver as loadable module for
iProc SOCs so that kernel image is little smaller and we load SBA RAID
driver only when required.

Signed-off-by: Anup Patel <anup.patel@broadcom.com>
Reviewed-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/Kconfig

index fadc4d8..48cf8df 100644 (file)
@@ -115,7 +115,7 @@ config BCM_SBA_RAID
        select DMA_ENGINE_RAID
        select ASYNC_TX_DISABLE_XOR_VAL_DMA
        select ASYNC_TX_DISABLE_PQ_VAL_DMA
-       default ARCH_BCM_IPROC
+       default m if ARCH_BCM_IPROC
        help
          Enable support for Broadcom SBA RAID Engine. The SBA RAID
          engine is available on most of the Broadcom iProc SoCs. It