mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-22 20:58:22 +00:00
acpi: Use I2cSerialBusV2() instead of I2cSerialBus()
Use the correct name of the ACPI structure being created. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
1e4073b855
commit
9c6aaf1347
2 changed files with 2 additions and 2 deletions
|
@ -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
|
* 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.
|
* information ACPI needs to use it.
|
||||||
*
|
*
|
||||||
* @ctx: ACPI context pointer
|
* @ctx: ACPI context pointer
|
||||||
|
|
|
@ -530,7 +530,7 @@ int acpi_device_write_dsm_i2c_hid(struct acpi_ctx *ctx,
|
||||||
return 0;
|
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,
|
static void acpi_device_write_i2c(struct acpi_ctx *ctx,
|
||||||
const struct acpi_i2c *i2c)
|
const struct acpi_i2c *i2c)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue