diff options
author | Randy Dunlap <[email protected]> | 2024-01-13 21:17:30 -0800 |
---|---|---|
committer | Michal Simek <[email protected]> | 2024-01-22 14:21:33 +0100 |
commit | 554add032d9d10cd4a31ceb2ba6cd50a102ba805 (patch) | |
tree | 849f8e026a786c087038139546d38f9a5efc5345 | |
parent | 6613476e225e090cc9aad49be7fa504e290dd33d (diff) |
ARM: zynq: slcr: fix function prototype kernel-doc warnings
Use the same name in the function prototype description and the function
to prevent kernel-doc warnings:
slcr.c:158: warning: expecting prototype for zynq_slcr_cpu_state(). Prototype was for zynq_slcr_cpu_state_read() instead
slcr.c:176: warning: expecting prototype for zynq_slcr_cpu_state(). Prototype was for zynq_slcr_cpu_state_write() instead
Signed-off-by: Randy Dunlap <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Russell King <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michal Simek <[email protected]>
-rw-r--r-- | arch/arm/mach-zynq/slcr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-zynq/slcr.c b/arch/arm/mach-zynq/slcr.c index 9765b3f4c2fc..2636dec499ad 100644 --- a/arch/arm/mach-zynq/slcr.c +++ b/arch/arm/mach-zynq/slcr.c @@ -146,7 +146,7 @@ void zynq_slcr_cpu_stop(int cpu) } /** - * zynq_slcr_cpu_state - Read/write cpu state + * zynq_slcr_cpu_state_read - Read cpu state * @cpu: cpu number * * SLCR_REBOOT_STATUS save upper 2 bits (31/30 cpu states for cpu0 and cpu1) @@ -165,7 +165,7 @@ bool zynq_slcr_cpu_state_read(int cpu) } /** - * zynq_slcr_cpu_state - Read/write cpu state + * zynq_slcr_cpu_state_write - Write cpu state * @cpu: cpu number * @die: cpu state - true if cpu is going to die * |