From: Andy Shevchenko Date: Sun, 15 Sep 2019 13:46:23 +0000 (+0300) Subject: platform/x86: asus-wmi: Make it depend on ACPI battery API X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=85624f90c8fc7214cd37e064635d17541d657732;p=linux.git platform/x86: asus-wmi: Make it depend on ACPI battery API When driver has been switched to use ACPI battery API in the commit 7973353e92ee ("Refactor charge threshold to use the battery hooking API") it makes it implicitly dependent to a corresponding kernel configuration option. Make this dependency explicit in Kconfig. Fixes: 7973353e92ee ("Refactor charge threshold to use the battery hooking API") Reported-by: kbuild test robot Cc: Kristian Klausen Signed-off-by: Andy Shevchenko --- diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86/Kconfig index 1b67bb578f9f7..ae21d08c65e8d 100644 --- a/drivers/platform/x86/Kconfig +++ b/drivers/platform/x86/Kconfig @@ -674,6 +674,7 @@ config EEEPC_LAPTOP config ASUS_WMI tristate "ASUS WMI Driver" depends on ACPI_WMI + depends on ACPI_BATTERY depends on INPUT depends on HWMON depends on BACKLIGHT_CLASS_DEVICE