Skip to contentSkip to conversation

i3c: Correct reference to the I²C device data type

PATCH Applied Andy Shevchenko 2 participants 2 messages Mar 2, 2023 – Mar 13, 2023 I3C

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i3c: Correct reference to the I²C device data type

I²C peripheral devices that are connected to the controller are represented in the Linux kernel as objects of the struct i2c_client. Fix this in the header file.

---
 include/linux/i3c/master.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
include/linux/i3c/master.h +2 -1
index 604a126b78c8..a12cda9dc715 100644
@@ -22,9 +22,10 @@
 #define I3C_BROADCAST_ADDR		0x7e
 #define I3C_MAX_ADDR			GENMASK(6, 0)
 
+struct i2c_client;
+
 struct i3c_master_controller;
 struct i3c_bus;
-struct i2c_device;
 struct i3c_device;
 
 /**
Signature · 1 line
2.39.1
maintainer Applied
#1 lore raw
Quoted 5 lines · Andy Shevchenko

I²C peripheral devices that are connected to the controller are represented in the Linux kernel as objects of the struct i2c_client. Fix this in the header file.

Applied, thanks!

[1/1] i3c: Correct reference to the I²C device data type

      commit: ce48f955860db841eeb4bcf9bb973ea3ef177b3a

Best regards,

Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com