diff options
author | Lee Jones <lee.jones@linaro.org> | 2020-06-24 15:32:06 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2020-07-06 09:32:03 +0200 |
commit | c9b55f99fc679b3c7c9c1677b2fd2c86d6ac5e03 (patch) | |
tree | 89fdac814fd19fa0bdbfc3184a28bdd0e2e1d551 /drivers/mfd | |
parent | mfd: si476x-cmd: Add missing colon(s) for all documented kerneldoc arguments (diff) | |
download | linux-c9b55f99fc679b3c7c9c1677b2fd2c86d6ac5e03.tar.xz linux-c9b55f99fc679b3c7c9c1677b2fd2c86d6ac5e03.zip |
mfd: si476x-i2c: Add description for si476x_core_fwver_to_revision()'s arg 'func'
Kerneldoc syntax is used, but not complete.
Descriptions are required for all arguments.
Fixes the following W=1 build warning:
drivers/mfd/si476x-i2c.c:550: warning: Function parameter or member 'func' not described in 'si476x_core_fwver_to_revision'
Cc: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/si476x-i2c.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mfd/si476x-i2c.c b/drivers/mfd/si476x-i2c.c index c8d28b844def..517d49bcd667 100644 --- a/drivers/mfd/si476x-i2c.c +++ b/drivers/mfd/si476x-i2c.c @@ -534,6 +534,11 @@ static irqreturn_t si476x_core_interrupt(int irq, void *dev) /** * si476x_firmware_version_to_revision() * @core: Core device structure + * @func: Selects the boot function of the device: + * *_BOOTLOADER - Boot loader + * *_FM_RECEIVER - FM receiver + * *_AM_RECEIVER - AM receiver + * *_WB_RECEIVER - Weatherband receiver * @major: Firmware major number * @minor1: Firmware first minor number * @minor2: Firmware second minor number |