From 77f6627a199e145adc492207f8b4bb4df5388b2b Mon Sep 17 00:00:00 2001 From: Raul E Rangel Date: Wed, 20 May 2020 14:27:27 -0600 Subject: [PATCH] ec/google/chromeec/i2c_tunnel: Fix missing const This was missed in the refactor. BUG=b:157140753 TEST=Built trembyle Signed-off-by: Raul E Rangel Change-Id: I150e0b8a806042ef8001805eaefbce71dc1be0e6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/41574 Reviewed-by: Furquan Shaikh Tested-by: build bot (Jenkins) --- src/ec/google/chromeec/i2c_tunnel/i2c_tunnel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ec/google/chromeec/i2c_tunnel/i2c_tunnel.c b/src/ec/google/chromeec/i2c_tunnel/i2c_tunnel.c index 77f6fe11fe..ec8bdfc2bf 100644 --- a/src/ec/google/chromeec/i2c_tunnel/i2c_tunnel.c +++ b/src/ec/google/chromeec/i2c_tunnel/i2c_tunnel.c @@ -11,7 +11,7 @@ #define CROS_EC_I2C_TUNNEL_HID "GOOG0012" #define CROS_EC_I2C_TUNNEL_DDN "Cros EC I2C Tunnel" -static void crosec_i2c_tunnel_fill_ssdt(struct device *dev) +static void crosec_i2c_tunnel_fill_ssdt(const struct device *dev) { const char *scope = acpi_device_scope(dev); struct ec_google_chromeec_i2c_tunnel_config *cfg = dev->chip_info;