]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
acpi: Use I2cSerialBusV2() instead of I2cSerialBus()
authorSimon Glass <sjg@chromium.org>
Tue, 22 Sep 2020 18:45:44 +0000 (12:45 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 25 Sep 2020 03:27:26 +0000 (11:27 +0800)
Use the correct name of the ACPI structure being created.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/acpi/acpi_device.h
lib/acpi/acpi_device.c

index 007b7e7caf16da97f65ec1487edf8987ab6b50ab..ed4acd912a1b5dba5f0c7676e107269009df82eb 100644 (file)
@@ -413,7 +413,7 @@ int acpi_device_write_dsm_i2c_hid(struct acpi_ctx *ctx,
 /**
  * acpi_device_write_i2c_dev() - Write an I2C device to ACPI
  *
- * This creates a I2cSerialBus descriptor for an I2C device, including
+ * This creates a I2cSerialBusV2 descriptor for an I2C device, including
  * information ACPI needs to use it.
  *
  * @ctx: ACPI context pointer
index 8248664a10ab3b80276608f12b20f092b4e74355..95dfac583fc83ae8ff8117579284dc71a5d8dc56 100644 (file)
@@ -530,7 +530,7 @@ int acpi_device_write_dsm_i2c_hid(struct acpi_ctx *ctx,
        return 0;
 }
 
-/* ACPI 6.3 section 6.4.3.8.2.1 - I2cSerialBus() */
+/* ACPI 6.3 section 6.4.3.8.2.1 - I2cSerialBusV2() */
 static void acpi_device_write_i2c(struct acpi_ctx *ctx,
                                  const struct acpi_i2c *i2c)
 {