summaryrefslogtreecommitdiff
path: root/src/soc/nvidia/tegra/i2c.h
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2019-12-02 11:42:44 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-12-03 11:24:51 +0000
commita37eef131a81f25647ee9896d2bca3b39f8fa2c2 (patch)
tree59c218279c3b94320bccacab932c0373bd12dedd /src/soc/nvidia/tegra/i2c.h
parent08c8cf9586ab9f75ab6d26fc8d80f14bd8087a1b (diff)
downloadcoreboot-a37eef131a81f25647ee9896d2bca3b39f8fa2c2.tar.xz
soc/nvidia/tegra: Constify variable
Change-Id: Iab0a442e6dbde0f9abdf2d8689f9891b79a2d37a Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37413 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/soc/nvidia/tegra/i2c.h')
-rw-r--r--src/soc/nvidia/tegra/i2c.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/nvidia/tegra/i2c.h b/src/soc/nvidia/tegra/i2c.h
index c32450b824..440af69387 100644
--- a/src/soc/nvidia/tegra/i2c.h
+++ b/src/soc/nvidia/tegra/i2c.h
@@ -168,6 +168,6 @@ struct tegra_i2c_regs {
};
check_member(tegra_i2c_regs, config_load, 0x8C);
-extern unsigned int num_i2c_buses;
+extern const unsigned int num_i2c_buses;
#endif /* __SOC_NVIDIA_TEGRA_I2C_H__ */