2024-01-17 05:00:19

by Randy Dunlap

[permalink] [raw]
Subject: [PATCH 04/13] ARM: OMAP2+: cm33xx: use matching function name in kernel-doc

Prevent a kernel-doc warning by using the correct function name in
the kernel-doc comment:

cm33xx.c:366: warning: expecting prototype for am33xx_restore_save_context(). Prototype was for am33xx_clkdm_restore_context() instead

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]
---
KernelVersion: 0dd3ee31125508cd67f7e717

arch/arm/mach-omap2/cm33xx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff -- a/arch/arm/mach-omap2/cm33xx.c b/arch/arm/mach-omap2/cm33xx.c
--- a/arch/arm/mach-omap2/cm33xx.c
+++ b/arch/arm/mach-omap2/cm33xx.c
@@ -357,7 +357,7 @@ static int am33xx_clkdm_save_context(str
}

/**
- * am33xx_restore_save_context - Restore the clockdomain transition context
+ * am33xx_clkdm_restore_context - Restore the clockdomain transition context
* @clkdm: The clockdomain pointer whose context needs to be restored
*
* Restore the clockdomain transition context.