summaryrefslogtreecommitdiff
path: root/include/linux/of_i2c.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2009-01-13 17:15:19 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2009-01-13 17:15:19 +1100
commit157764476bbb0b0f71fa889eb7220a6292119238 (patch)
treec7932a82b6815323f4c07c8b077fd2df53c3a8c4 /include/linux/of_i2c.h
parenta0e1122953f113d0f40398b853813a0843033eff (diff)
parent061b908cf888c1bfd3dd1b91ce6f676e3bc42633 (diff)
Merge branch 'powerpc_next'
Diffstat (limited to 'include/linux/of_i2c.h')
-rw-r--r--include/linux/of_i2c.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/of_i2c.h b/include/linux/of_i2c.h
index bd2a870ec296..34974b5a76f7 100644
--- a/include/linux/of_i2c.h
+++ b/include/linux/of_i2c.h
@@ -17,4 +17,7 @@
void of_register_i2c_devices(struct i2c_adapter *adap,
struct device_node *adap_node);
+/* must call put_device() when done with returned i2c_client device */
+struct i2c_client *of_find_i2c_device_by_node(struct device_node *node);
+
#endif /* __LINUX_OF_I2C_H */