]> git.baikalelectronics.ru Git - kernel.git/commitdiff
i3c: master: svc: fix doc warning in svc-i3c-master.c
authorYang Yingliang <yangyingliang@huawei.com>
Wed, 2 Jun 2021 08:55:44 +0000 (16:55 +0800)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 9 Jun 2021 00:02:45 +0000 (02:02 +0200)
Fix the following make W=1 warning:

  drivers/i3c/master/svc-i3c-master.c:207: warning: expecting prototype for struct svc_i3c_i3c_dev_data. Prototype was for struct svc_i3c_i2c_dev_data instead

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20210602085544.4101980-1-yangyingliang@huawei.com
drivers/i3c/master/svc-i3c-master.c

index eeb49b5d90efc576d791f4fe337b67d061697772..879e5a64acaf46f397fd60289a0edb2dbd6b8ec9 100644 (file)
@@ -195,7 +195,7 @@ struct svc_i3c_master {
 };
 
 /**
- * struct svc_i3c_i3c_dev_data - Device specific data
+ * struct svc_i3c_i2c_dev_data - Device specific data
  * @index: Index in the master tables corresponding to this device
  * @ibi: IBI slot index in the master structure
  * @ibi_pool: IBI pool associated to this device