summaryrefslogtreecommitdiff
path: root/src/arch/x86/include
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2019-08-20 08:20:01 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-08-23 08:16:21 +0000
commiteeb8e74944488ffbb7aa9a16fb28cc84beb6c353 (patch)
tree24df14db8c2033cb49b384844241f09ce053dc02 /src/arch/x86/include
parent3d0df83133642350dc716ab67f77021d47e27d95 (diff)
downloadcoreboot-eeb8e74944488ffbb7aa9a16fb28cc84beb6c353.tar.xz
arch/x86/acpi: Add acpi_device_hid
Allow a driver to return device specific _HID, which will be consumed by acpigen in order to generate proper SSDTs. Change-Id: Ibb79eb00c008a3c3cdc12ad2a48b88a055a9216f Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35006 Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/arch/x86/include')
-rw-r--r--src/arch/x86/include/arch/acpi_device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/x86/include/arch/acpi_device.h b/src/arch/x86/include/arch/acpi_device.h
index d74af9da74..4990df091a 100644
--- a/src/arch/x86/include/arch/acpi_device.h
+++ b/src/arch/x86/include/arch/acpi_device.h
@@ -63,6 +63,7 @@ struct acpi_dp {
struct device;
const char *acpi_device_name(const struct device *dev);
+const char *acpi_device_hid(const struct device *dev);
const char *acpi_device_path(const struct device *dev);
const char *acpi_device_scope(const struct device *dev);
const char *acpi_device_path_join(const struct device *dev, const char *name);