Skip to content

Commit f9dbbac

Browse files
rddunlaptmlind
authored andcommitted
ARM: OMAP2+: PRM: fix kernel-doc warnings
Use the correct function name in a kernel-doc comment. Add function parameter descriptions in 2 places. These changes prevent the following warnings: prm_common.c:384: warning: expecting prototype for prm_clear_context_lost_flags_old(). Prototype was for prm_clear_context_loss_flags_old() instead prm_common.c:505: warning: Function parameter or struct member 'vp_id' not described in 'omap_prm_vp_check_txdone' prm_common.c:522: warning: Function parameter or struct member 'vp_id' not described in 'omap_prm_vp_clear_txdone' Signed-off-by: Randy Dunlap <[email protected]> Cc: Paul Walmsley <[email protected]> Cc: Tony Lindgren <[email protected]> Cc: [email protected] Cc: Russell King <[email protected]> Cc: [email protected] Cc: [email protected] Message-ID: <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
1 parent 4e4afbb commit f9dbbac

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

arch/arm/mach-omap2/prm_common.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ bool prm_was_any_context_lost_old(u8 part, s16 inst, u16 idx)
370370
}
371371

372372
/**
373-
* prm_clear_context_lost_flags_old - clear context loss flags (old API)
373+
* prm_clear_context_loss_flags_old - clear context loss flags (old API)
374374
* @part: PRM partition ID (e.g., OMAP4430_PRM_PARTITION)
375375
* @inst: PRM instance offset (e.g., OMAP4430_PRM_MPU_INST)
376376
* @idx: CONTEXT register offset
@@ -497,6 +497,7 @@ int omap_prm_clear_mod_irqs(s16 module, u8 regs, u32 wkst_mask)
497497

498498
/**
499499
* omap_prm_vp_check_txdone - check voltage processor TX done status
500+
* @vp_id: unique VP instance ID
500501
*
501502
* Checks if voltage processor transmission has been completed.
502503
* Returns non-zero if a transmission has completed, 0 otherwise.
@@ -514,6 +515,7 @@ u32 omap_prm_vp_check_txdone(u8 vp_id)
514515

515516
/**
516517
* omap_prm_vp_clear_txdone - clears voltage processor TX done status
518+
* @vp_id: unique VP instance ID
517519
*
518520
* Clears the status bit for completed voltage processor transmission
519521
* returned by prm_vp_check_txdone.

0 commit comments

Comments
 (0)