platform/x86: asus-wmi: Make it depend on ACPI battery API
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sun, 15 Sep 2019 13:46:23 +0000 (16:46 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sun, 15 Sep 2019 14:00:31 +0000 (17:00 +0300)
commit85624f90c8fc7214cd37e064635d17541d657732
tree5e55084f0e48ee7da8cb134c5661fe1e34e49e9b
parentf690790c9da3122dd7ee1b0d64d97973a7c34135
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 <lkp@intel.com>
Cc: Kristian Klausen <kristian@klausen.dk>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/Kconfig