mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 15:37:23 +00:00
clk: versal: Mark versal_clock_setup() as static
Fix the following sparse and compile time warning triggered with W=1: drivers/clk/clk_versal.c:605:5: warning: no previous prototype for 'versal_clock_setup' [-Wmissing-prototypes] 605 | int versal_clock_setup(void) Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com> Link: https://lore.kernel.org/r/20221007105535.31902-1-venkatesh.abbarapu@amd.com Signed-off-by: Michal Simek <michal.simek@amd.com>
This commit is contained in:
parent
0b33770b54
commit
673f18955e
1 changed files with 1 additions and 1 deletions
|
@ -602,7 +602,7 @@ static void versal_get_clock_info(void)
|
|||
}
|
||||
}
|
||||
|
||||
int versal_clock_setup(void)
|
||||
static int versal_clock_setup(void)
|
||||
{
|
||||
int ret;
|
||||
|
||||
|
|
Loading…
Reference in a new issue