diff mbox series

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

Message ID 20230302161206.38106-1-andriy.shevchenko@linux.intel.com (mailing list archive)
State Accepted
Headers show
Series [v1,1/1] i3c: Correct reference to the I²C device data type | expand

Commit Message

Andy Shevchenko March 2, 2023, 4:12 p.m. UTC
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.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 include/linux/i3c/master.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Alexandre Belloni March 13, 2023, 1:41 p.m. UTC | #1
On Thu, 02 Mar 2023 18:12:06 +0200, Andy Shevchenko wrote:
> 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,
diff mbox series

Patch

diff --git a/include/linux/i3c/master.h b/include/linux/i3c/master.h
index 604a126b78c8..a12cda9dc715 100644
--- a/include/linux/i3c/master.h
+++ b/include/linux/i3c/master.h
@@ -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;
 
 /**