]> www.infradead.org Git - users/dwmw2/linux.git/commit
ACPI: utils: Add acpi_evaluate_dsm_typed() and acpi_check_dsm() stubs
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 19 Jan 2023 19:11:00 +0000 (21:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Jan 2023 13:25:17 +0000 (13:25 +0000)
commit1b94ad7ccc21c002ca324d4fe6c11078bb4d4c9a
treefc3a49d3ed08e1b832696a7e43bec8d97226d9a8
parentba197fdea699adfd3bcb73a67ec0e74b59b9506d
ACPI: utils: Add acpi_evaluate_dsm_typed() and acpi_check_dsm() stubs

When the ACPI part of a driver is optional the methods used in it
are expected to be available even if CONFIG_ACPI=n. This is not
the case for _DSM related methods. Add stubs for
acpi_evaluate_dsm_typed() and acpi_check_dsm() methods.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/acpi.h