i3c: master: fix kernel-doc check warning
authorFrank Li <Frank.Li@nxp.com>
Tue, 9 Jan 2024 05:25:48 +0000 (00:25 -0500)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 14 Jan 2024 22:00:50 +0000 (23:00 +0100)
Fix warning found by
'scripts/kernel-doc -v -none include/linux/i3c/master.h'

include/linux/i3c/master.h:457: warning: Function parameter or member 'enable_hotjoin' not described in 'i3c_master_controller_ops'
include/linux/i3c/master.h:457: warning: Function parameter or member 'disable_hotjoin' not described in 'i3c_master_controller_ops'
include/linux/i3c/master.h:499: warning: Function parameter or member 'hotjoin' not described in 'i3c_master_controller'

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/r/20240109052548.2128133-1-Frank.Li@nxp.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
include/linux/i3c/master.h

index 1ecd73b17ff5da161d26e02f6403f499a3adb153..0ca27dd869561fd96c8f2a1470a0f8adae6d4d5e 100644 (file)
@@ -433,6 +433,8 @@ struct i3c_bus {
  *                   for a future IBI
  *                   This method is mandatory only if ->request_ibi is not
  *                   NULL.
+ * @enable_hotjoin: enable hot join event detect.
+ * @disable_hotjoin: disable hot join event detect.
  */
 struct i3c_master_controller_ops {
        int (*bus_init)(struct i3c_master_controller *master);
@@ -474,6 +476,7 @@ struct i3c_master_controller_ops {
  * @ops: master operations. See &struct i3c_master_controller_ops
  * @secondary: true if the master is a secondary master
  * @init_done: true when the bus initialization is done
+ * @hotjoin: true if the master support hotjoin
  * @boardinfo.i3c: list of I3C  boardinfo objects
  * @boardinfo.i2c: list of I2C boardinfo objects
  * @boardinfo: board-level information attached to devices connected on the bus