Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: ethernet: qualcomm: QCOM_PPE should depend on ARCH_QCOM

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>

authored by

Geert Uytterhoeven and committed by
Jakub Kicinski
35dface6 7051b54f

+2 -2
+2 -2
drivers/net/ethernet/qualcomm/Kconfig
··· 62 62 63 63 config QCOM_PPE 64 64 tristate "Qualcomm Technologies, Inc. PPE Ethernet support" 65 - depends on HAS_IOMEM && OF 66 - depends on COMMON_CLK 65 + depends on COMMON_CLK && HAS_IOMEM && OF 66 + depends on ARCH_QCOM || COMPILE_TEST 67 67 select REGMAP_MMIO 68 68 help 69 69 This driver supports the Qualcomm Technologies, Inc. packet