From: Randy Dunlap Date: Mon, 9 Dec 2019 04:35:38 +0000 (-0800) Subject: i2c: fix header file kernel-doc warning X-Git-Tag: v5.5-rc2~19^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3ac61258599b5abe45d97b926d44a79262385bae;p=thirdparty%2Flinux.git i2c: fix header file kernel-doc warning Fix kernel-doc warning in . ../include/linux/i2c.h:337: warning: Function parameter or member 'init_irq' not described in 'i2c_client' Signed-off-by: Randy Dunlap Signed-off-by: Wolfram Sang --- diff --git a/include/linux/i2c.h b/include/linux/i2c.h index d1baf8d57536d..91954324f985e 100644 --- a/include/linux/i2c.h +++ b/include/linux/i2c.h @@ -300,6 +300,7 @@ struct i2c_driver { * generic enough to hide second-sourcing and compatible revisions. * @adapter: manages the bus segment hosting this I2C device * @dev: Driver model device node for the slave. + * @init_irq: IRQ that was set at initialization * @irq: indicates the IRQ generated by this device (if any) * @detected: member of an i2c_driver.clients list or i2c-core's * userspace_devices list