aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/i3c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-03-02 18:12:06 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2023-03-13 14:41:04 +0100
commitce48f955860db841eeb4bcf9bb973ea3ef177b3a (patch)
tree5c1d854cba9af9697ca2ed5bc43818f2533aa847 /include/linux/i3c
parentLinux 6.3-rc1 (diff)
downloadwireguard-linux-ce48f955860db841eeb4bcf9bb973ea3ef177b3a.tar.xz
wireguard-linux-ce48f955860db841eeb4bcf9bb973ea3ef177b3a.zip
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. 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>
Diffstat (limited to 'include/linux/i3c')
-rw-r--r--include/linux/i3c/master.h3
1 files changed, 2 insertions, 1 deletions
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;
/**