From 14b2a4d574bbdb069369b81af31d87c5b1016f25 Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Wed, 8 Jun 2016 13:49:40 -0700 Subject: 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 Reviewed-on: https://review.coreboot.org/15109 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel --- src/drivers/i2c/generic/generic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, }; -- cgit v1.2.3