diff options
| author | Kejian Yan <yankejian@huawei.com> | 2016-06-03 05:55:09 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-06-05 04:32:39 +0300 |
| commit | 6eb17e0df74c036eba7548915b37f009403fe09e (patch) | |
| tree | 7fa0bb6a67f8c26fee0021207b4dca466714311b /tools/perf/scripts/python/stat-cpi.py | |
| parent | 169fbdc6f54ae6b557e404419b5dba919064404b (diff) | |
| download | linux-6eb17e0df74c036eba7548915b37f009403fe09e.tar.xz | |
ACPI: bus: add stub acpi_dev_found() to linux/acpi.h
acpi_dev_found() will be used to detect if a given ACPI device is in the
system. 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>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions
