summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBhoomik Gupta <bhoomik.gupta@nxp.com>2024-07-08 11:08:35 +0530
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2024-07-26 14:21:30 +0200
commit63c33ca0969cf4d4574103b69fb46f58a19a182b (patch)
tree7f59d166b2250c345662a225bb5e46b7e5417440 /include
parent62fe9d06f5709caa1fa68055873ff279e05ade37 (diff)
i3c: master: Enhance i3c_bus_type visibility for device searching & event monitoring
Improve the visibility of i3c_bus_type to facilitate searching for i3c devices attached to the i3c bus. Enable other drivers to use bus_register_notifier to monitor i3c bus device events. Signed-off-by: Bhoomik Gupta <bhoomik.gupta@nxp.com> Link: https://lore.kernel.org/r/20240708053835.3003986-1-bhoomik.gupta@nxp.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/i3c/master.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/i3c/master.h b/include/linux/i3c/master.h
index 0ca27dd86956..074f632868d9 100644
--- a/include/linux/i3c/master.h
+++ b/include/linux/i3c/master.h
@@ -33,6 +33,7 @@ enum {
struct i3c_master_controller;
struct i3c_bus;
struct i3c_device;
+extern const struct bus_type i3c_bus_type;
/**
* struct i3c_i2c_dev_desc - Common part of the I3C/I2C device descriptor