projects
/
rtos
/
tinyara.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f599c2
)
Fix i2ctool build break for s5j (provide up_i2cuninitialize)
author
Tomasz Wozniak
<t.wozniak@samsung.com>
Thu, 7 Sep 2017 10:11:28 +0000
(12:11 +0200)
committer
Tomasz Wozniak
<t.wozniak@samsung.com>
Thu, 7 Sep 2017 10:11:28 +0000
(12:11 +0200)
os/arch/arm/src/s5j/s5j_i2c.c
patch
|
blob
|
history
diff --git
a/os/arch/arm/src/s5j/s5j_i2c.c
b/os/arch/arm/src/s5j/s5j_i2c.c
index
6d46c86
..
48db2bf
100644
(file)
--- 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 :