]> www.infradead.org Git - users/hch/misc.git/commitdiff
net: ethernet: qualcomm: QCOM_PPE should depend on ARCH_QCOM
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 29 Aug 2025 11:27:06 +0000 (13:27 +0200)
committerJakub Kicinski <kuba@kernel.org>
Mon, 1 Sep 2025 19:53:38 +0000 (12:53 -0700)
The Qualcomm Technologies, Inc. Packet Process Engine (PPE) is only
present on Qualcomm IPQ SoCs.  Hence add a dependency on ARCH_QCOM, to
prevent asking the user about this driver when configuring a kernel
without Qualcomm platform support,

Fixes: 353a0f1d5b27606b ("net: ethernet: qualcomm: Add PPE driver for IPQ9574 SoC")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/eb7bd6e6ce27eb6d602a63184d9daa80127e32bd.1756466786.git.geert+renesas@glider.be
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/qualcomm/Kconfig

index 29e6d746ad31ad7e85b99f609c96b6eb90d73186..ba7efb108637cc15de2e1fb53b1393569cd9ca6a 100644 (file)
@@ -62,8 +62,8 @@ config QCOM_EMAC
 
 config QCOM_PPE
        tristate "Qualcomm Technologies, Inc. PPE Ethernet support"
-       depends on HAS_IOMEM && OF
-       depends on COMMON_CLK
+       depends on COMMON_CLK && HAS_IOMEM && OF
+       depends on ARCH_QCOM || COMPILE_TEST
        select REGMAP_MMIO
        help
          This driver supports the Qualcomm Technologies, Inc. packet