fsl/fman: add dependency on HAS_DMA
authorMadalin Bucur <madalin.bucur@nxp.com>
Mon, 26 Jun 2017 15:47:00 +0000 (18:47 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Jun 2017 19:42:30 +0000 (15:42 -0400)
A previous commit (5567e989198b5a8d) inserted a dependency on DMA
API that requires HAS_DMA to be added in Kconfig.

Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fman/Kconfig

index dc0850b3b517b9b02e3cd9a42cf98425a55d0df3..8870a9a798ca4e0245e6b05ac8d4ee2cf8499b46 100644 (file)
@@ -2,6 +2,7 @@ config FSL_FMAN
        tristate "FMan support"
        depends on FSL_SOC || ARCH_LAYERSCAPE || COMPILE_TEST
        select GENERIC_ALLOCATOR
+       depends on HAS_DMA
        select PHYLIB
        default n
        help