]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ptp: Do not enable by default during compile testing
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 17 Apr 2025 07:46:42 +0000 (09:46 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 23 Apr 2025 01:43:10 +0000 (18:43 -0700)
Enabling the compile test should not cause automatic enabling of all
drivers, but only allow to choose to compile them.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20250417074643.81448-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/ptp/Kconfig

index 07bf7f9aae019ca26aa6d39a3c19b9dd0420f9bb..204278eb215e5aa69ec2b9c60fddec384320a7cc 100644 (file)
@@ -44,7 +44,7 @@ config PTP_1588_CLOCK_DTE
        depends on PTP_1588_CLOCK
        depends on NET && HAS_IOMEM
        depends on ARCH_BCM_MOBILE || (ARCH_BCM_IPROC && !(ARCH_BCM_NSP || ARCH_BCM_5301X)) || COMPILE_TEST
-       default y
+       default y if ARCH_BCM_MOBILE || ARCH_BCM_IPROC
        help
          This driver adds support for using the Digital timing engine
          (DTE) in the Broadcom SoC's as a PTP clock.
@@ -59,7 +59,7 @@ config PTP_1588_CLOCK_QORIQ
        tristate "Freescale QorIQ 1588 timer as PTP clock"
        depends on GIANFAR || FSL_DPAA_ETH || FSL_DPAA2_ETH || FSL_ENETC || FSL_ENETC_VF || COMPILE_TEST
        depends on PTP_1588_CLOCK
-       default y
+       default y if GIANFAR || FSL_DPAA_ETH || FSL_DPAA2_ETH || FSL_ENETC || FSL_ENETC_VF
        help
          This driver adds support for using the Freescale QorIQ 1588
          timer as a PTP clock. This clock is only useful if your PTP