summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2019-07-27 22:54:55 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-07-27 22:54:55 +0100
commit62f5b7c72410bab29138a2167ac3ab227207de37 (patch)
tree564f083cbdaee30593b12759e16a1e13a6fcf9d5 /include
parent3f2cde742632226a86b54b2f8ed9cf5c4f50638c (diff)
parent934d24a5e1508e73c0001afb54a3916e4270428f (diff)
Merge tag 'tags/i3c/export-i3c_device_match_id' into HEAD
Needed for the st_lsm6dsx_i3c.c driver
Diffstat (limited to 'include')
-rw-r--r--include/linux/i3c/device.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/i3c/device.h b/include/linux/i3c/device.h
index 5ecb055fd375..de102e4418ab 100644
--- a/include/linux/i3c/device.h
+++ b/include/linux/i3c/device.h
@@ -188,6 +188,10 @@ static inline struct i3c_driver *drv_to_i3cdrv(struct device_driver *drv)
struct device *i3cdev_to_dev(struct i3c_device *i3cdev);
struct i3c_device *dev_to_i3cdev(struct device *dev);
+const struct i3c_device_id *
+i3c_device_match_id(struct i3c_device *i3cdev,
+ const struct i3c_device_id *id_table);
+
static inline void i3cdev_set_drvdata(struct i3c_device *i3cdev,
void *data)
{