ACPI: bus: add stub acpi_evaluate_dsm() to linux/acpi.h
authorKejian Yan <yankejian@huawei.com>
Fri, 3 Jun 2016 02:55:10 +0000 (10:55 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 5 Jun 2016 01:32:40 +0000 (21:32 -0400)
commit4ae399241adba66ad72e5973a1004f37ffbe67cd
treecc916fc3063dab86fdabcd93fb447bdf37cc1013
parent6eb17e0df74c036eba7548915b37f009403fe09e
ACPI: bus: add stub acpi_evaluate_dsm() to linux/acpi.h

acpi_evaluate_dsm() will be used to handle the _DSM method in ACPI case.
It will be compiled in non-ACPI case, but the function is in acpi_bus.h
and acpi_bus.h can only be used in ACPI case, so this patch add the stub
function to linux/acpi.h to make compiled successfully in non-ACPI cases.

Cc: Rafael J. Wysocki <rjw@rjwysocki.net>
Signed-off-by: Kejian Yan <yankejian@huawei.com>
Signed-off-by: Yisen Zhuang <Yisen.Zhuang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/acpi.h