diff options
author | Duncan Laurie <dlaurie@chromium.org> | 2016-06-08 13:49:40 -0700 |
---|---|---|
committer | Duncan Laurie <dlaurie@chromium.org> | 2016-06-22 20:25:14 +0200 |
commit | 14b2a4d574bbdb069369b81af31d87c5b1016f25 (patch) | |
tree | 817aac2bfacd92654c5f83de3a328785477450d5 /src/drivers/i2c | |
parent | 4cff1d52a591fec2ddccebb1bf69b2c710d9c519 (diff) | |
download | coreboot-14b2a4d574bbdb069369b81af31d87c5b1016f25.tar.xz |
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>
Diffstat (limited to 'src/drivers/i2c')
-rw-r--r-- | src/drivers/i2c/generic/generic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/i2c/generic/generic.c b/src/drivers/i2c/generic/generic.c index 1c10b0e3cf..62e2e9a813 100644 --- a/src/drivers/i2c/generic/generic.c +++ b/src/drivers/i2c/generic/generic.c @@ -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, }; |