Skip to contentSkip to conversation

platform/x86: x86-android-tablets: Add depends on PMIC_OPREGION

PATCH In review Hans de Goede 1 participant 2 messages Mar 9, 2023 – Mar 11, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 platform/x86: x86-android-tablets: Add depends on PMIC_OPREGION

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")

---
Changes in v2:
- Add Fixes tag

---
 drivers/platform/x86/x86-android-tablets/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/platform/x86/x86-android-tablets/Kconfig +1 -1
index 2b3daca5380b..6603461d4273 100644
@@ -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
Signature · 1 line
2.39.1
#1 lore raw

Hi,

Quoted 6 lines · Hans de Goede

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!

Quoted 7 lines
Fixes 9b1d2662b8c5 ("platform/x86: x86-android-tablets: Add touchscreen support for Lenovo Yoga Tab 3 Pro YT3-X90F")

---
Changes in v2:
- Add Fixes tag

I've pushed this out to the pdx86/for-next branch now.

Regards,

Hans

Quoted 17 lines
---
 drivers/platform/x86/x86-android-tablets/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/platform/x86/x86-android-tablets/Kconfig +1 -1
index 2b3daca5380b..6603461d4273 100644
@@ -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