]> git.baikalelectronics.ru Git - kernel.git/commitdiff
platform/x86: x86-android-tablets: Depend on EFI and SPI
authorHans de Goede <hdegoede@redhat.com>
Tue, 8 Mar 2022 15:29:42 +0000 (16:29 +0100)
committerHans de Goede <hdegoede@redhat.com>
Wed, 9 Mar 2022 17:17:45 +0000 (18:17 +0100)
The recently added support for Lenovo Yoga Tablet 2 tablets uses
symbols from EFI and SPI add "depends on EFI && SPI" to the
X86_ANDROID_TABLETS Kconfig entry.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/r/20220308152942.262130-1-hdegoede@redhat.com
drivers/platform/x86/Kconfig

index 0d51011d5d900394f229b2cd0d3fac2bf6f1e16b..5d9dd70e4e0f52db0ea16edb05f0655a0020e9d3 100644 (file)
@@ -1041,7 +1041,7 @@ config TOUCHSCREEN_DMI
 
 config X86_ANDROID_TABLETS
        tristate "X86 Android tablet support"
-       depends on I2C && SERIAL_DEV_BUS && ACPI && GPIOLIB
+       depends on I2C && SPI && SERIAL_DEV_BUS && ACPI && EFI && GPIOLIB
        help
          X86 tablets which ship with Android as (part of) the factory image
          typically have various problems with their DSDTs. The factory kernels