]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
i3c: Correct reference to the I²C device data type
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 2 Mar 2023 16:12:06 +0000 (18:12 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 13 Mar 2023 13:41:04 +0000 (14:41 +0100)
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>
Link: https://lore.kernel.org/r/20230302161206.38106-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
include/linux/i3c/master.h

index 604a126b78c8355013c3debe5f2e4f0175b2c8cd..a12cda9dc7153fdadd1c7ec422c8373408cd5537 100644 (file)
 #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;
 
 /**