]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
platform: Do not enable by default during compile testing
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 17 Apr 2025 07:46:47 +0000 (09:46 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 24 Apr 2025 12:53:35 +0000 (15:53 +0300)
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>
Link: https://lore.kernel.org/r/20250417074648.81528-1-krzysztof.kozlowski@linaro.org
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/arm64/Kconfig
drivers/platform/surface/Kconfig
drivers/platform/x86/dell/Kconfig

index 0abe5377891b5a4ab9e72fc96cbc070ac021513a..06288aebc5599435065a37f8dacd046b5def80bd 100644 (file)
@@ -6,7 +6,7 @@
 menuconfig ARM64_PLATFORM_DEVICES
        bool "ARM64 Platform-Specific Device Drivers"
        depends on ARM64 || COMPILE_TEST
-       default y
+       default ARM64
        help
          Say Y here to get to see options for platform-specific device drivers
          for arm64 based devices, primarily EC-like device drivers.
index b629e82af97c0fb4ca7dcfa16a755f1e0a41bdb5..f775c6ca1ec1dd3be996b1d25e66340415e8e747 100644 (file)
@@ -6,7 +6,7 @@
 menuconfig SURFACE_PLATFORMS
        bool "Microsoft Surface Platform-Specific Device Drivers"
        depends on ARM64 || X86 || COMPILE_TEST
-       default y
+       default y if ARM64 || X86
        help
          Say Y here to get to see options for platform-specific device drivers
          for Microsoft Surface devices. This option alone does not add any
index f7107b0c55f27c9be70f50b36dd2e7bab42a6960..738c108c2163eeeac1354603f1deda4b4dc7d426 100644 (file)
@@ -172,7 +172,7 @@ config DELL_SMBIOS_SMM
 
 config DELL_SMO8800
        tristate "Dell Latitude freefall driver (ACPI SMO88XX)"
-       default m
+       default m if ACPI
        depends on I2C
        depends on ACPI || COMPILE_TEST
        help