]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / PMIC: xpower: Add depends on IOSF_MBI to Kconfig entry
authorHans de Goede <hdegoede@redhat.com>
Fri, 19 Oct 2018 08:41:28 +0000 (10:41 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 25 Oct 2018 15:00:05 +0000 (17:00 +0200)
commit39300ffe4fe4652434a5face56e25423ef52c82c
tree5993810fe7536980dca093f7835d522518819c30
parent1ddac47c35e9ee563491498711a272480e8d1333
ACPI / PMIC: xpower: Add depends on IOSF_MBI to Kconfig entry

This is necessary to avoid compilation issues on non x86 systems (where the
asm/iosf_mbi.h header is not available) and on x86 systems in case IOSF_MBI
support is not enabled there.

Note that the AXP288 PMIC is connected through the LPSS i2c controller, so
either we have IOSF_MBI support selected through the X86_INTEL_LPSS option,
or we have a kernel where the OpRegion will never work anyways.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/Kconfig