summaryrefslogtreecommitdiff
path: root/lib/acpi
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-09-22 12:45:44 -0600
committerBin Meng <bmeng.cn@gmail.com>2020-09-25 11:27:26 +0800
commit9c6aaf13473b611508e9bc3a5ab851255403c3bf (patch)
tree6f754931602c7bc8c24c3d7766ef7c18e1e174ba /lib/acpi
parent1e4073b8559615509af45f2f826d157c39841fd0 (diff)
downloadu-boot-9c6aaf13473b611508e9bc3a5ab851255403c3bf.tar.gz
u-boot-9c6aaf13473b611508e9bc3a5ab851255403c3bf.tar.bz2
u-boot-9c6aaf13473b611508e9bc3a5ab851255403c3bf.zip
acpi: Use I2cSerialBusV2() instead of I2cSerialBus()
Use the correct name of the ACPI structure being created. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/acpi')
-rw-r--r--lib/acpi/acpi_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/acpi/acpi_device.c b/lib/acpi/acpi_device.c
index 8248664a10..95dfac583f 100644
--- a/lib/acpi/acpi_device.c
+++ b/lib/acpi/acpi_device.c
@@ -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)
{