Message ID | 38dde454-d00d-f9b2-18b4-590a2697b368@infradead.org |
---|---|
State | Accepted |
Headers | show |
Series | i2c: fix header file kernel-doc warning | expand |
On Sun, Dec 08, 2019 at 08:35:38PM -0800, Randy Dunlap wrote: > From: Randy Dunlap <rdunlap@infradead.org> > > 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> > Cc: Wolfram Sang <wsa@the-dreams.de> > Cc: linux-i2c@vger.kernel.org Applied to for-current, thanks!
--- linux-next-20191209.orig/include/linux/i2c.h +++ linux-next-20191209/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