summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi.c
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@osg.samsung.com>2016-03-10 19:01:14 +0100
committerMark Brown <broonie@kernel.org>2016-03-11 08:23:01 +0100
commit10f11a2238d4d66e74438b629214b530a77db8e1 (patch)
tree94987cdbfc962e5ff34a165a7735e2a7fa9447f3 /drivers/spi/spi.c
parentspi: Fix htmldocs build error due struct spi_replaced_transfers (diff)
downloadlinux-10f11a2238d4d66e74438b629214b530a77db8e1.tar.xz
linux-10f11a2238d4d66e74438b629214b530a77db8e1.zip
spi: Add gfp parameter to kernel-doc to fix build warning
The spi_split_transfers_maxsize() gfp parameter is missing in the function kernel-doc so building gives the following warning: .//drivers/spi/spi.c:2359: warning: No description found for parameter 'gfp' Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi.c')
-rw-r--r--drivers/spi/spi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
index 96c764d7efe6..c881493974d8 100644
--- a/drivers/spi/spi.c
+++ b/drivers/spi/spi.c
@@ -2319,6 +2319,7 @@ static int __spi_split_transfer_maxsize(struct spi_master *master,
* @master: the @spi_master for this transfer
* @msg: the @spi_message to transform
* @maxsize: the maximum when to apply this
+ * @gfp: GFP allocation flags
*
* Return: status of transformation
*/