Skip to content

Commit 2c30357

Browse files
jwrdegoedeij-intel
authored andcommitted
platform/x86: x86-android-tablets: Add select POWER_SUPPLY to Kconfig
Commit c78dd25 ("platform/x86: x86-android-tablets: Add Vexia EDU ATLA 10 EC battery driver"), adds power_supply class registering to the x86-android-tablets code. Add "select POWER_SUPPLY" to the Kconfig entry to avoid these errors: ERROR: modpost: "power_supply_get_drvdata" [drivers/platform/x86/x86-android-tablets/vexia_atla10_ec.ko] undefined! ERROR: modpost: "power_supply_changed" [drivers/platform/x86/x86-android-tablets/vexia_atla10_ec.ko] undefined! ERROR: modpost: "devm_power_supply_register" [drivers/platform/x86/x86-android-tablets/vexia_atla10_ec.ko] undefined! When POWER_SUPPLY support is not enabled. Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Hans de Goede <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
1 parent 96b8f46 commit 2c30357

File tree

1 file changed

+1
-0
lines changed
  • drivers/platform/x86/x86-android-tablets

1 file changed

+1
-0
lines changed

drivers/platform/x86/x86-android-tablets/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ config X86_ANDROID_TABLETS
1010
depends on ACPI && EFI && PCI
1111
select NEW_LEDS
1212
select LEDS_CLASS
13+
select POWER_SUPPLY
1314
help
1415
X86 tablets which ship with Android as (part of) the factory image
1516
typically have various problems with their DSDTs. The factory kernels

0 commit comments

Comments
 (0)