Messages in this thread Patch in this message | | | From | Randy Dunlap <> | Subject | [PATCH] pwm: add missing kernel-doc for pwm_chip:cdev | Date | Wed, 27 Mar 2024 21:55:13 -0700 |
| |
Add a kernel-doc description of @cdev to prevent a build warning:
include/linux/pwm.h:308: warning: Function parameter or struct member 'cdev' not described in 'pwm_chip'
Signed-off-by: Randy Dunlap <rdunlap@infradead.org> --- Cc: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Cc: linux-pwm@vger.kernel.org
include/linux/pwm.h | 1 + 1 file changed, 1 insertion(+)
diff -- a/include/linux/pwm.h b/include/linux/pwm.h --- a/include/linux/pwm.h +++ b/include/linux/pwm.h @@ -268,6 +268,7 @@ struct pwm_ops { /** * struct pwm_chip - abstract a PWM controller * @dev: device providing the PWMs + * @cdev: &struct cdev for this device * @ops: callbacks for this PWM controller * @owner: module providing this chip * @id: unique number of this PWM chip
| |