summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2022-11-24 13:09:51 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2022-11-24 13:11:26 +0100
commit963c7fe6cdbfe72c2760c4ed91c808540a4bfb9e (patch)
tree490071a1ea0b1b87a67c37c75729505ef410ccb9 /include
parentLinux 6.1-rc2 (diff)
parenti2c: core: Introduce i2c_client_get_device_id helper function (diff)
downloadlinux-963c7fe6cdbfe72c2760c4ed91c808540a4bfb9e.tar.xz
linux-963c7fe6cdbfe72c2760c4ed91c808540a4bfb9e.zip
Merge branch i2c/client_device_id_helper-immutable of wsa/linux into next
Merge Wolfram's topic branch holding the new i2c_client_get_device_id() helper, so that we can apply conversion patches that depend on it.
Diffstat (limited to 'include')
-rw-r--r--include/linux/i2c.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index f7c49bbdb8a1..d84e0e99f084 100644
--- a/include/linux/i2c.h
+++ b/include/linux/i2c.h
@@ -189,6 +189,7 @@ s32 i2c_smbus_read_i2c_block_data_or_emulated(const struct i2c_client *client,
u8 *values);
int i2c_get_device_id(const struct i2c_client *client,
struct i2c_device_identity *id);
+const struct i2c_device_id *i2c_client_get_device_id(const struct i2c_client *client);
#endif /* I2C */
/**