Skip to content

Commit 0e31a8c

Browse files
rddunlaptmlind
authored andcommitted
ARM: OMAP2+: fix kernel-doc warnings
Use the correct function name in a comment. Use the correct function parameter name in a comment. These changes prevent the following kernel-doc warnings: omap-secure.c:61: warning: expecting prototype for omap_sec_dispatcher(). Prototype was for omap_secure_dispatcher() instead omap-secure.c:191: warning: Excess function parameter 'clr_bits' description in 'rx51_secure_update_aux_cr' Signed-off-by: Randy Dunlap <[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 57adbcd commit 0e31a8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/arm/mach-omap2/omap-secure.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ static void __init omap_optee_init_check(void)
4747
}
4848

4949
/**
50-
* omap_sec_dispatcher: Routine to dispatch low power secure
50+
* omap_secure_dispatcher - Routine to dispatch low power secure
5151
* service routines
5252
* @idx: The HAL API index
5353
* @flag: The flag indicating criticality of operation
@@ -183,7 +183,7 @@ static u32 rx51_secure_dispatcher(u32 idx, u32 process, u32 flag, u32 nargs,
183183
/**
184184
* rx51_secure_update_aux_cr: Routine to modify the contents of Auxiliary Control Register
185185
* @set_bits: bits to set in ACR
186-
* @clr_bits: bits to clear in ACR
186+
* @clear_bits: bits to clear in ACR
187187
*
188188
* Return the non-zero error value on failure.
189189
*/

0 commit comments

Comments
 (0)