From: Justin M. Forbes <[email protected]>

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 <[email protected]>

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
_______________________________________________
kernel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to