acpi: Add a function to get a device path and scope

Add a function to build up the ACPI path for a device and another for its
scope.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
This commit is contained in:
Simon Glass
2020-07-07 13:11:39 -06:00
committed by Bin Meng
parent 4b724a1377
commit 1361a53c1a
5 changed files with 213 additions and 13 deletions

View File

@@ -1,4 +1,5 @@
# SPDX-License-Identifier: GPL-2.0+
#
obj-y += acpi_device.o
obj-y += acpi_table.o