summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2016-08-18 09:43:28 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2016-09-29 14:48:11 +0200
commit473768330d42e504a89671bb47d966735c83293c (patch)
tree29130fee7086921991ee12890cce1b675b3d4c24
parentfc94b2d37963c4ddc43c3f78701cbf744923b7eb (diff)
colibri_t20: fix gcc-6 compilation
arch/arm/mach-tegra/board-colibri_t20.c:668:43: error: 'i2c2_ddc' defined but not used [-Werror=unused-const-variable=] static const struct tegra_pingroup_config i2c2_ddc = { ^~~~~~~~ Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
-rw-r--r--arch/arm/mach-tegra/board-colibri_t20.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/mach-tegra/board-colibri_t20.c b/arch/arm/mach-tegra/board-colibri_t20.c
index 014487d702c7..42e9a2eebe58 100644
--- a/arch/arm/mach-tegra/board-colibri_t20.c
+++ b/arch/arm/mach-tegra/board-colibri_t20.c
@@ -665,11 +665,6 @@ static struct tegra_i2c_platform_data colibri_t20_i2c1_platform_data = {
/* GEN2_I2C: unused */
/* DDC_CLOCK/DATA on X3 pin 15/16 (e.g. display EDID) */
-static const struct tegra_pingroup_config i2c2_ddc = {
- .pingroup = TEGRA_PINGROUP_DDC,
- .func = TEGRA_MUX_I2C2,
-};
-
static struct tegra_i2c_platform_data colibri_t20_i2c2_platform_data = {
.adapter_nr = 1,
.arb_recovery = arb_lost_recovery,