aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMichael Ellerman <[email protected]>2022-11-24 23:09:51 +1100
committerMichael Ellerman <[email protected]>2022-11-24 23:11:26 +1100
commit963c7fe6cdbfe72c2760c4ed91c808540a4bfb9e (patch)
tree490071a1ea0b1b87a67c37c75729505ef410ccb9 /include/linux
parent247f34f7b80357943234f93f247a1ae6b6c3a740 (diff)
parent662233731d66cf41e7494e532e702849c8ce18f3 (diff)
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/linux')
-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 */
/**