Commit 85624f90 authored by Andy Shevchenko's avatar Andy Shevchenko

platform/x86: asus-wmi: Make it depend on ACPI battery API

When driver has been switched to use ACPI battery API in the commit

  7973353e ("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: 7973353e ("Refactor charge threshold to use the battery hooking API")
Reported-by: default avatarkbuild test robot <lkp@intel.com>
Cc: Kristian Klausen <kristian@klausen.dk>
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
parent f690790c
...@@ -674,6 +674,7 @@ config EEEPC_LAPTOP ...@@ -674,6 +674,7 @@ config EEEPC_LAPTOP
config ASUS_WMI config ASUS_WMI
tristate "ASUS WMI Driver" tristate "ASUS WMI Driver"
depends on ACPI_WMI depends on ACPI_WMI
depends on ACPI_BATTERY
depends on INPUT depends on INPUT
depends on HWMON depends on HWMON
depends on BACKLIGHT_CLASS_DEVICE depends on BACKLIGHT_CLASS_DEVICE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment