From a5c9745e629f88ad643044be0dba2b8bf57afcfe Mon Sep 17 00:00:00 2001 From: Tomasz Wozniak Date: Thu, 7 Sep 2017 12:11:28 +0200 Subject: [PATCH] Fix i2ctool build break for s5j (provide up_i2cuninitialize) --- os/arch/arm/src/s5j/s5j_i2c.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/os/arch/arm/src/s5j/s5j_i2c.c b/os/arch/arm/src/s5j/s5j_i2c.c index 6d46c86..48db2bf 100644 --- a/os/arch/arm/src/s5j/s5j_i2c.c +++ b/os/arch/arm/src/s5j/s5j_i2c.c @@ -1333,6 +1333,10 @@ struct i2c_dev_s *up_i2cinitialize(int port) return (FAR struct i2c_dev_s *)priv; } +int up_i2cuninitialize(FAR struct i2c_dev_s *dev) { + return s5j_i2cbus_uninitialize(dev); +} + /** * @brief Unitialize one I2C bus * @param struct i2c_master_s *dev : -- 2.7.4