Skip to content

Commit c6e33ed

Browse files
rddunlaptmlind
authored andcommitted
ARM: OMAP2+: fix kernel-doc warnings
Use the correct function name in a comment. Add the return value documentation for one function. These changes prevent these warnings: wd_timer.c:76: warning: expecting prototype for omap2_wdtimer_reset(). Prototype was for omap2_wd_timer_reset() instead wd_timer.c:76: warning: No description found for return value of 'omap2_wd_timer_reset' 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 0e31a8c commit c6e33ed

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

arch/arm/mach-omap2/wd_timer.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ int omap2_wd_timer_disable(struct omap_hwmod *oh)
5757
}
5858

5959
/**
60-
* omap2_wdtimer_reset - reset and disable the WDTIMER IP block
60+
* omap2_wd_timer_reset - reset and disable the WDTIMER IP block
6161
* @oh: struct omap_hwmod *
6262
*
6363
* After the WDTIMER IP blocks are reset on OMAP2/3, we must also take
@@ -71,6 +71,8 @@ int omap2_wd_timer_disable(struct omap_hwmod *oh)
7171
* during a normal merge window. omap_hwmod_softreset() should be
7272
* renamed to omap_hwmod_set_ocp_softreset(), and omap_hwmod_softreset()
7373
* should call the hwmod _ocp_softreset() code.
74+
*
75+
* Returns: %0 on success or -errno value on error.
7476
*/
7577
int omap2_wd_timer_reset(struct omap_hwmod *oh)
7678
{

0 commit comments

Comments
 (0)