summaryrefslogtreecommitdiff
path: root/src/ec
diff options
context:
space:
mode:
authorRaul E Rangel <rrangel@chromium.org>2020-05-20 14:27:27 -0600
committerFelix Held <felix-coreboot@felixheld.de>2020-05-21 21:30:26 +0000
commit77f6627a199e145adc492207f8b4bb4df5388b2b (patch)
tree561390763498bc27fb59da9a08f43c9d76599050 /src/ec
parent3abd206d4f67fe8e25403b74fdd69a5a4392597f (diff)
downloadcoreboot-77f6627a199e145adc492207f8b4bb4df5388b2b.tar.xz
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 <rrangel@chromium.org> Change-Id: I150e0b8a806042ef8001805eaefbce71dc1be0e6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/41574 Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/ec')
-rw-r--r--src/ec/google/chromeec/i2c_tunnel/i2c_tunnel.c2
1 files changed, 1 insertions, 1 deletions
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;