summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2022-11-25 17:05:15 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2022-11-25 17:05:15 +0800
commit719c547c6551d48ceb71c1a7ab6ffb96d218551f (patch)
treebb84d3810f08f5475a9761645501ca80e2d76fc7 /include
parent8e96729fc26c8967db45a3fb7a60387619f77a22 (diff)
parent662233731d66cf41e7494e532e702849c8ce18f3 (diff)
Merge branch 'i2c/client_device_id_helper-immutable' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux
Merge i2c tree to pick up i2c_client_get_device_id helper.
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 */
/**