rename acpi_bus_get_acpi_device to acpi_get_acpi_dev
Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
This commit is contained in:
parent
4611dd0f95
commit
f0033fe270
@ -429,7 +429,7 @@ index 4db5bb587599..de258f416e80 100644
|
||||
+ * 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;
|
||||
|
Loading…
Reference in New Issue
Block a user