acpi: add get_dev_aml_func() helper
authorIgor Mammedov <imammedo@redhat.com>
Mon, 17 Oct 2022 10:21:41 +0000 (12:21 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 7 Nov 2022 19:08:17 +0000 (14:08 -0500)
commit5dbad0af10ff7d4f83db7f4ddd872d85332ebecc
tree04a3573ef30fa56a47902e7386b7d46fd53e5c3f
parentffb745909bcdd676c62532e301875f66ab505973
acpi: add get_dev_aml_func() helper

It will be used in followup commits to figure out if
device has it's own, device specific AML block.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20221017102146.2254096-7-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Ani Sinha <ani@anisinha.ca>
include/hw/acpi/acpi_aml_interface.h