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>
This commit is contained in:
Raul E Rangel 2020-05-20 14:27:27 -06:00 committed by Felix Held
parent 3abd206d4f
commit 77f6627a19
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
#define CROS_EC_I2C_TUNNEL_HID "GOOG0012" #define CROS_EC_I2C_TUNNEL_HID "GOOG0012"
#define CROS_EC_I2C_TUNNEL_DDN "Cros EC I2C Tunnel" #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); const char *scope = acpi_device_scope(dev);
struct ec_google_chromeec_i2c_tunnel_config *cfg = dev->chip_info; struct ec_google_chromeec_i2c_tunnel_config *cfg = dev->chip_info;