[PATCH] ARM: s5pv210: fix pm.c kernel-doc warning

Randy Dunlap rdunlap at infradead.org
Sat Jan 13 21:27:51 PST 2024


Use the correct function name in the kernel-doc comment to prevent
a kernel-doc warning:

arch/arm/mach-s5pv210/pm.c:61: warning: expecting prototype for s3c_pm_do_restore(). Prototype was for s3c_pm_do_restore_core() instead

Signed-off-by: Randy Dunlap <rdunlap at infradead.org>
Cc: patches at armlinux.org.uk
Cc: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
Cc: Alim Akhtar <alim.akhtar at samsung.com>
Cc: linux-arm-kernel at lists.infradead.org
Cc: linux-samsung-soc at vger.kernel.org
---
KernelVersion: 0dd3ee31125508cd67f7e717

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

diff -- a/arch/arm/mach-s5pv210/pm.c b/arch/arm/mach-s5pv210/pm.c
--- a/arch/arm/mach-s5pv210/pm.c
+++ b/arch/arm/mach-s5pv210/pm.c
@@ -47,7 +47,7 @@ static void s3c_pm_do_save(struct sleep_
 }
 
 /**
- * s3c_pm_do_restore() - restore register values from the save list.
+ * s3c_pm_do_restore_core() - restore register values from the save list.
  * @ptr: Pointer to an array of registers.
  * @count: Size of the ptr array.
  *



More information about the linux-arm-kernel mailing list