]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/i2c.h
drm: Remove drm_modeset_(un)lock_crtc
[karo-tx-linux.git] / include / linux / i2c.h
index 7b23a3316dcb1f24694d759a7b5ddaf149ce5376..6b183521c61697aa3af56082b830247f960d06fb 100644 (file)
@@ -30,6 +30,7 @@
 #include <linux/device.h>      /* for struct device */
 #include <linux/sched.h>       /* for completion */
 #include <linux/mutex.h>
+#include <linux/rtmutex.h>
 #include <linux/irqdomain.h>           /* for Host Notify IRQ */
 #include <linux/of.h>          /* for struct device_node */
 #include <linux/swab.h>                /* for swab16 */
@@ -283,6 +284,7 @@ enum i2c_slave_event {
 
 extern int i2c_slave_register(struct i2c_client *client, i2c_slave_cb_t slave_cb);
 extern int i2c_slave_unregister(struct i2c_client *client);
+extern bool i2c_detect_slave_mode(struct device *dev);
 
 static inline int i2c_slave_event(struct i2c_client *client,
                                  enum i2c_slave_event event, u8 *val)