soc: fsl: qbman: FSL_DPAA depends on COMPILE_TEST
authorBreno Leitao <leitao@debian.org>
Sat, 13 Jul 2024 22:53:36 +0000 (01:53 +0300)
committerJakub Kicinski <kuba@kernel.org>
Mon, 15 Jul 2024 03:26:16 +0000 (20:26 -0700)
As most of the drivers that depend on ARCH_LAYERSCAPE, make FSL_DPAA
depend on COMPILE_TEST for compilation and testing.

# grep -r depends.\*ARCH_LAYERSCAPE.\*COMPILE_TEST | wc -l
29

Signed-off-by: Breno Leitao <leitao@debian.org>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Acked-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
Link: https://patch.msgid.link/20240713225336.1746343-6-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/soc/fsl/qbman/Kconfig

index bdecb86bb6562aa8201e2eb7c7f3341d2374797d..27774ec6ff90e56b30220dfd5ca97eec4289aa8e 100644 (file)
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0-only
 menuconfig FSL_DPAA
        bool "QorIQ DPAA1 framework support"
-       depends on ((FSL_SOC_BOOKE || ARCH_LAYERSCAPE) && ARCH_DMA_ADDR_T_64BIT)
+       depends on ((FSL_SOC_BOOKE || ARCH_LAYERSCAPE || COMPILE_TEST) && ARCH_DMA_ADDR_T_64BIT)
        select GENERIC_ALLOCATOR
        help
          The Freescale Data Path Acceleration Architecture (DPAA) is a set of