diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2024-03-27 21:55:13 -0700 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2024-04-22 12:42:26 +0200 |
commit | a6e5401413f06fc3678843631986fa7ab5a7d12f (patch) | |
tree | d0db2eaeb60be3a67fca1e6413d759aa5bfd5e89 | |
parent | f69b5364064d0437b8c5f9b1501cf8fca2e65f9c (diff) | |
download | renesas-drivers-a6e5401413f06fc3678843631986fa7ab5a7d12f.tar.gz |
pwm: Add missing kernel-doc for pwm_chip:cdev
Notice: this object is not reachable from any branch.
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>
Fixes: a5a72f656212 ("pwm: Add support for pwmchip devices for faster and easier userspace access")
Link: https://lore.kernel.org/r/20240328045515.15874-1-rdunlap@infradead.org
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Notice: this object is not reachable from any branch.
-rw-r--r-- | include/linux/pwm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pwm.h b/include/linux/pwm.h index d5fed23b48f0f4..a58db7011807e6 100644 --- 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 |