Skip to contentSkip to conversation

platform/x86: x86-android-tablets: Add "select LEDS_CLASS"

PATCH In review Hans de Goede 1 participant 2 messages May 21, 2024 – May 27, 2024

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

PATCH 1/1 platform/x86: x86-android-tablets: Add "select LEDS_CLASS"

Since the x86-android-tablets now calls devm_led_classdev_register_ext() it needs to select LEDS_CLASS as well as LEDS_CLASS' NEW_LEDS dependency.

---
 drivers/platform/x86/x86-android-tablets/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
drivers/platform/x86/x86-android-tablets/Kconfig +2 -0
index 6603461d4273..b591419de80c 100644
@@ -6,6 +6,8 @@
 config X86_ANDROID_TABLETS
 	tristate "X86 Android tablet support"
 	depends on I2C && SPI && SERIAL_DEV_BUS && ACPI && EFI && GPIOLIB && PMIC_OPREGION
+	select NEW_LEDS
+	select LEDS_CLASS
 	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.45.1
#1 lore raw

Hi,

Quoted 6 lines · Hans de Goede

Since the x86-android-tablets now calls devm_led_classdev_register_ext() it needs to select LEDS_CLASS as well as LEDS_CLASS' NEW_LEDS dependency.

I've added this to my review-hans (soon to be fixes) branch now.

Regards,

Hans

Quoted 17 lines
---
 drivers/platform/x86/x86-android-tablets/Kconfig | 2 ++
 1 file changed, 2 insertions(+)
drivers/platform/x86/x86-android-tablets/Kconfig +2 -0
index 6603461d4273..b591419de80c 100644
@@ -6,6 +6,8 @@
 config X86_ANDROID_TABLETS
 	tristate "X86 Android tablet support"
 	depends on I2C && SPI && SERIAL_DEV_BUS && ACPI && EFI && GPIOLIB && PMIC_OPREGION
+	select NEW_LEDS
+	select LEDS_CLASS
 	help
 	  X86 tablets which ship with Android as (part of) the factory image
 	  typically have various problems with their DSDTs. The factory kernels