mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 02:50:43 +00:00
clk: zynqmp: Fix kernel-doc format
Align structure and function names with definitions. Issues are reported by kernel-doc script as: drivers/clk/zynqmp/clk-gate-zynqmp.c:24: warning: expecting prototype for struct clk_gate. Prototype was for struct zynqmp_clk_gate instead drivers/clk/zynqmp/clk-gate-zynqmp.c:75: warning: expecting prototype for zynqmp_clk_gate_is_enable(). Prototype was for zynqmp_clk_gate_is_enabled() instead Signed-off-by: Michal Simek <michal.simek@xilinx.com> Link: https://lore.kernel.org/r/26526e144296373b2c75e75865dd023158f9bfc7.1629718424.git.michal.simek@xilinx.com Signed-off-by: Stephen Boyd <sboyd@kernel.org>
This commit is contained in:
parent
a3ef91f501
commit
6e1cc688e4
1 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@
|
|||
#include "clk-zynqmp.h"
|
||||
|
||||
/**
|
||||
* struct clk_gate - gating clock
|
||||
* struct zynqmp_clk_gate - gating clock
|
||||
* @hw: handle between common and hardware-specific interfaces
|
||||
* @flags: hardware-specific flags
|
||||
* @clk_id: Id of clock
|
||||
|
@ -66,7 +66,7 @@ static void zynqmp_clk_gate_disable(struct clk_hw *hw)
|
|||
}
|
||||
|
||||
/**
|
||||
* zynqmp_clk_gate_is_enable() - Check clock state
|
||||
* zynqmp_clk_gate_is_enabled() - Check clock state
|
||||
* @hw: handle between common and hardware-specific interfaces
|
||||
*
|
||||
* Return: 1 if enabled, 0 if disabled else error code
|
||||
|
|
Loading…
Reference in a new issue