[02/15] mmc: core: sdio_io: Provide description for sdio_set_host_pm_flags()'s 'flag' arg
diff mbox series

Message ID 20200701124702.908713-3-lee.jones@linaro.org
State In Next
Commit 50ed390f4fcd8f43a0af42cfe9529c6c3f304cc0
Headers show
  • Clean-up MMC's W=1 build warnings
Related show

Commit Message

Lee Jones July 1, 2020, 12:46 p.m. UTC
Add missing kerneldoc entry for sdio_set_host_pm_flags()'s 'flag'
function argument.

Fixes the following W=1 kernel build warning:

 kernel/drivers/mmc/core/sdio_io.c:722: warning: Function parameter or member 'flags' not described in 'sdio_set_host_pm_flags'

Cc: Pierre Ossman <drzeus@drzeus.cx>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
 drivers/mmc/core/sdio_io.c | 1 +
 1 file changed, 1 insertion(+)

diff mbox series

diff --git a/drivers/mmc/core/sdio_io.c b/drivers/mmc/core/sdio_io.c
index 2ba00acf64e64..b5dd893bbcb6f 100644
--- a/drivers/mmc/core/sdio_io.c
+++ b/drivers/mmc/core/sdio_io.c
@@ -709,6 +709,7 @@  EXPORT_SYMBOL_GPL(sdio_get_host_pm_caps);
  *	sdio_set_host_pm_flags - set wanted host power management capabilities
  *	@func: SDIO function attached to host
+ *	@flags: Power Management flags to set
  *	Set a capability bitmask corresponding to wanted host controller
  *	power management features for the upcoming suspend state.