i2c: Export i2c_match_id() for direct use by device drivers
[sfrench/cifs-2.6.git] / include / linux / i2c.h
index c0a4a12815aad2bd3015bfc10c5dabed8dd24be6..7e00efd6a62faa07c512f1e0fb41fd70ad116937 100644 (file)
@@ -243,6 +243,8 @@ struct i2c_client {
 
 extern struct i2c_client *i2c_verify_client(struct device *dev);
 extern struct i2c_adapter *i2c_verify_adapter(struct device *dev);
+extern const struct i2c_device_id *i2c_match_id(const struct i2c_device_id *id,
+                                       const struct i2c_client *client);
 
 static inline struct i2c_client *kobj_to_i2c_client(struct kobject *kobj)
 {