Skip to content

Commit 554add0

Browse files
rddunlapmichalsimek
authored andcommitted
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 <rdunlap@infradead.org> Cc: Michal Simek <michal.simek@amd.com> Cc: Russell King <linux@armlinux.org.uk> Cc: linux-arm-kernel@lists.infradead.org Cc: patches@armlinux.org.uk Link: https://lore.kernel.org/r/20240114051730.16796-1-rdunlap@infradead.org Signed-off-by: Michal Simek <michal.simek@amd.com>
1 parent 6613476 commit 554add0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

arch/arm/mach-zynq/slcr.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ void zynq_slcr_cpu_stop(int cpu)
146146
}
147147

148148
/**
149-
* zynq_slcr_cpu_state - Read/write cpu state
149+
* zynq_slcr_cpu_state_read - Read cpu state
150150
* @cpu: cpu number
151151
*
152152
* 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)
165165
}
166166

167167
/**
168-
* zynq_slcr_cpu_state - Read/write cpu state
168+
* zynq_slcr_cpu_state_write - Write cpu state
169169
* @cpu: cpu number
170170
* @die: cpu state - true if cpu is going to die
171171
*

0 commit comments

Comments
 (0)