aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/surface/Kconfig
diff options
context:
space:
mode:
authorMaximilian Luz <luzmaximilian@gmail.com>2020-10-09 16:11:25 +0200
committerHans de Goede <hdegoede@redhat.com>2020-10-27 12:51:16 +0100
commitf23027ca3d48b6f93c5994069fb25b73539fdf34 (patch)
tree2c82db0b3a4236014befc1ef34f08a5e67a2739a /drivers/platform/surface/Kconfig
parentplatform: Add Surface platform directory (diff)
downloadlinux-f23027ca3d48b6f93c5994069fb25b73539fdf34.tar.gz
linux-f23027ca3d48b6f93c5994069fb25b73539fdf34.zip
platform/surface: Move Surface 3 WMI driver to platform/surface
Move the Surface 3 WMI driver from platform/x86 to the newly created platform/surface directory. Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20201009141128.683254-3-luzmaximilian@gmail.com Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/surface/Kconfig')
-rw-r--r--drivers/platform/surface/Kconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/platform/surface/Kconfig b/drivers/platform/surface/Kconfig
index b67926ece95f..326f7bbf83d7 100644
--- a/drivers/platform/surface/Kconfig
+++ b/drivers/platform/surface/Kconfig
@@ -12,3 +12,19 @@ menuconfig SURFACE_PLATFORMS
kernel code.
If you say N, all options in this submenu will be skipped and disabled.
+
+if SURFACE_PLATFORMS
+
+config SURFACE3_WMI
+ tristate "Surface 3 WMI Driver"
+ depends on ACPI_WMI
+ depends on DMI
+ depends on INPUT
+ depends on SPI
+ help
+ Say Y here if you have a Surface 3.
+
+ To compile this driver as a module, choose M here: the module will
+ be called surface3-wmi.
+
+endif # SURFACE_PLATFORMS