Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ata: pata_sil680: Add some missing function parameter docs

Fixes the following W=1 kernel build warning(s):

drivers/ata/pata_sil680.c:68: warning: Function parameter or member 'adev' not described in 'sil680_seldev'
drivers/ata/pata_sil680.c:254: warning: Function parameter or member 'try_mmio' not described in 'sil680_init_chip'

Cc: Jens Axboe <axboe@kernel.dk>
Cc: Andre Hedrick <andre@linux-ide.org>
Cc: Red Hat <alan@redhat.com>
Cc: linux-ide@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20210318085150.3131936-3-lee.jones@linaro.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

Lee Jones and committed by
Jens Axboe
91c50d8a ffa137cb

+2
+2
drivers/ata/pata_sil680.c
··· 57 57 /** 58 58 * sil680_seldev - return register base 59 59 * @ap: ATA interface 60 + * @adev: ATA device 60 61 * @r: config offset 61 62 * 62 63 * Turn a config register offset into the right address in PCI space ··· 245 244 /** 246 245 * sil680_init_chip - chip setup 247 246 * @pdev: PCI device 247 + * @try_mmio: Indicates to caller whether MMIO should be attempted 248 248 * 249 249 * Perform all the chip setup which must be done both when the device 250 250 * is powered up on boot and when we resume in case we resumed from RAM.