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
@ -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
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user