summaryrefslogtreecommitdiff
path: root/recipes-bsp/u-boot/u-boot-2016.09.01/mtcdt/i2c.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/u-boot/u-boot-2016.09.01/mtcdt/i2c.patch')
-rw-r--r--recipes-bsp/u-boot/u-boot-2016.09.01/mtcdt/i2c.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-bsp/u-boot/u-boot-2016.09.01/mtcdt/i2c.patch b/recipes-bsp/u-boot/u-boot-2016.09.01/mtcdt/i2c.patch
index ba9ca44..a5087ea 100644
--- a/recipes-bsp/u-boot/u-boot-2016.09.01/mtcdt/i2c.patch
+++ b/recipes-bsp/u-boot/u-boot-2016.09.01/mtcdt/i2c.patch
@@ -108,7 +108,7 @@ diff -raNu old/include/i2c.h new/include/i2c.h
void i2c_soft_delay(void);
#endif
-#else
-+#else if !defined(CONFIG_DM_I2C_COMPAT)
++#elif !defined(CONFIG_DM_I2C_COMPAT)
/*
* Probe the given I2C chip address. Returns 0 if a chip responded,