mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
UPSTREAM: drivers/i2c/generic: Fix compile failure
This variable name was changed in chip.h but not the consumer and it was submitted before it was caught. Change-Id: I7c492b588b2fd854a9eeac36029a46da324a7b1b Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://review.coreboot.org/15109 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-on: https://chromium-review.googlesource.com/355264 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
b1cdf2473c
commit
af36e0d20a
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ static void i2c_generic_fill_ssdt(struct device *dev)
|
|||
struct acpi_i2c i2c = {
|
||||
.address = dev->path.i2c.device,
|
||||
.mode_10bit = dev->path.i2c.mode_10bit,
|
||||
.speed = config->bus_speed ? : I2C_SPEED_FAST,
|
||||
.speed = config->speed ? : I2C_SPEED_FAST,
|
||||
.resource = scope,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue