platform/x86: x86-android-tablets: Add depends on PMIC_OPREGION
authorHans de Goede <hdegoede@redhat.com>
Thu, 9 Mar 2023 09:40:35 +0000 (10:40 +0100)
committerHans de Goede <hdegoede@redhat.com>
Thu, 16 Mar 2023 13:40:39 +0000 (14:40 +0100)
Add a depends on PMIC_OPREGION to x86-android-tablets Kconfig to fix
the following build error:

ERROR: modpost: "intel_soc_pmic_exec_mipi_pmic_seq_element"
 [drivers/platform/x86/x86-android-tablets/x86-android-tablets.ko] undefined!

Fixes: 9b1d2662b8c5 ("platform/x86: x86-android-tablets: Add touchscreen support for Lenovo Yoga Tab 3 Pro YT3-X90F")
Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/oe-kbuild-all/202303091711.howZNrIY-lkp@intel.com/
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20230309094035.18736-1-hdegoede@redhat.com
drivers/platform/x86/x86-android-tablets/Kconfig

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