From: Justin M. Forbes <jforbes(a)fedoraproject.org>
Change acpi_bus_get_acpi_device to acpi_get_acpi_dev
Upstream commit 45e9aa1fdbb2e renamed acpi_bus_get_acpi_device to
acpi_get_acpi_dev. As we are carrying an out of tree patch [1] which calls
acpi_bus_get_acpi_device, we need to make the corresponding change
ourselves for things to continue to work.
[1]: c92805df87ae9 ACPI / irq: Workaround firmware issue on X-Gene based m400
Signed-off-by: Justin M. Forbes <jforbes(a)fedoraproject.org>
diff --git a/drivers/acpi/irq.c b/drivers/acpi/irq.c
index blahblah..blahblah 100644
--- a/drivers/acpi/irq.c
+++ b/drivers/acpi/irq.c
@@ -254,7 +254,7 @@ static int acpi_irq_parse_one(acpi_handle handle, unsigned int index,
* Don't do the producer/consumer check for that device.
*/
if (IS_ENABLED(CONFIG_ARM64)) {
- struct acpi_device *adev = acpi_bus_get_acpi_device(handle);
+ struct acpi_device *adev = acpi_get_acpi_dev(handle);
if (adev && !strcmp(acpi_device_hid(adev), "APMC0D08"))
ctx.skip_producer_check = true;
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/2062