]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
i2c: fix header file kernel-doc warning
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 9 Dec 2019 04:35:38 +0000 (20:35 -0800)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 10 Dec 2019 22:16:10 +0000 (23:16 +0100)
Fix kernel-doc warning in <linux/i2c.h>.

../include/linux/i2c.h:337: warning: Function parameter or member 'init_irq' not described in 'i2c_client'

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
include/linux/i2c.h

index d1baf8d57536d626704c01012899eb227eea6c36..91954324f985e8151780ab16280dcaeffdc399c7 100644 (file)
@@ -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