diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2022-01-15 17:08:49 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2022-01-24 12:41:45 +0300 |
commit | c197e969e3082b9c19175d2f013a0dbd3ce52236 (patch) | |
tree | 22623e9aa12af2f4cfe1a57ea76bf873b57272f3 /drivers/platform | |
parent | 17f6736a020ef195f4855e807c76d2360310d143 (diff) | |
download | linux-c197e969e3082b9c19175d2f013a0dbd3ce52236.tar.xz |
platform/surface: Reinstate platform dependency
Microsoft Surface platform-specific devices are only present on
Microsoft Surface platforms, which are currently limited to arm64 and
x86. Hence add a dependency on ARM64 || X86, to prevent asking the user
about drivers for these devices when configuring a kernel for an
architecture that does not support Microsoft Surface platforms.
Fixes: 272479928172edf0 ("platform: surface: Propagate ACPI Dependency")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Maximilian Luz <luzmaximilian@gmail.com>
Link: https://lore.kernel.org/r/20220115140849.269479-1-geert@linux-m68k.org
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/surface/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/surface/Kconfig b/drivers/platform/surface/Kconfig index 5f0578e25f71..463f1ec5c14e 100644 --- a/drivers/platform/surface/Kconfig +++ b/drivers/platform/surface/Kconfig @@ -5,6 +5,7 @@ menuconfig SURFACE_PLATFORMS bool "Microsoft Surface Platform-Specific Device Drivers" + depends on ARM64 || X86 || COMPILE_TEST default y help Say Y here to get to see options for platform-specific device drivers |