Bugzilla – Attachment 728066 Details for
Bug 1043231
Kernel build failed at armv7hl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Forgot Password
[patch]
0008-ACPI-bus-add-stub-acpi_dev_found-to-linux-acpi.h.patch
0008-ACPI-bus-add-stub-acpi_dev_found-to-linux-acpi.h.patch (text/plain), 1.35 KB, created by
Matwey Kornilov
on 2017-06-07 19:36:04 UTC
(
hide
)
Description:
0008-ACPI-bus-add-stub-acpi_dev_found-to-linux-acpi.h.patch
Filename:
MIME Type:
Creator:
Matwey Kornilov
Created:
2017-06-07 19:36:04 UTC
Size:
1.35 KB
patch
obsolete
>From 55a815d3eb91f9524128ceb9c8acd99fe5e71bdc Mon Sep 17 00:00:00 2001 >From: Kejian Yan <yankejian@huawei.com> >Date: Fri, 3 Jun 2016 10:55:09 +0800 >Subject: [PATCH 08/19] 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> >Git-commit: 6eb17e0df74c036eba7548915b37f009403fe09e >Patch-mainline: v4.8-rc1 >Signed-off-by: Matwey V. Kornilov <matwey.kornilov@gmail.com> >--- > include/linux/acpi.h | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/include/linux/acpi.h b/include/linux/acpi.h >index c19af1d8970a..30ae21e7b70b 100644 >--- a/include/linux/acpi.h >+++ b/include/linux/acpi.h >@@ -528,6 +528,11 @@ int acpi_arch_timer_mem_init(struct arch_timer_mem *timer_mem, int *timer_count) > > struct fwnode_handle; > >+static inline bool acpi_dev_found(const char *hid) >+{ >+ return false; >+} >+ > static inline bool is_acpi_node(struct fwnode_handle *fwnode) > { > return false; >-- >2.12.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 1043231
:
728059
|
728060
|
728061
|
728062
|
728063
|
728064
|
728065
| 728066 |
728067
|
728068
|
728069
|
728070
|
728071
|
728072
|
728073
|
728074
|
728075
|
728076
|
728077
|
728521
|
728695
|
728770