diff options
author | John Klug <john.klug@multitech.com> | 2017-05-09 17:55:58 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2017-06-09 09:09:19 -0500 |
commit | 91e69d5ed5f8d9332ae3bf9f787e2bf9aacf560f (patch) | |
tree | 33f1d867b0bd43da5cf0129b99ca3a362110d557 /recipes-bsp/u-boot/u-boot-2016.09.01/mtcdt/i2c.patch | |
parent | 55f33c3980c96252fe3f31072b3fa94626bda487 (diff) | |
download | meta-multitech-91e69d5ed5f8d9332ae3bf9f787e2bf9aacf560f.tar.gz meta-multitech-91e69d5ed5f8d9332ae3bf9f787e2bf9aacf560f.tar.bz2 meta-multitech-91e69d5ed5f8d9332ae3bf9f787e2bf9aacf560f.zip |
Switch from the driver model to the SYS model for I2C.
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.patch | 2 |
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, |