diff options
| author | Venkatesh Yadav Abbarapu <[email protected]> | 2022-10-07 16:25:35 +0530 |
|---|---|---|
| committer | Michal Simek <[email protected]> | 2022-10-10 12:28:08 +0200 |
| commit | 673f18955ee2db5c20c7d8e38763b530a372f283 (patch) | |
| tree | 7b4c8570627f1b8ab01e207ff5b727be5b57acb1 | |
| parent | 0b33770b54a57cc5dcfc91a497dc5f044a0b2e92 (diff) | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Michal Simek <[email protected]>
| -rw-r--r-- | drivers/clk/clk_versal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk_versal.c b/drivers/clk/clk_versal.c index b2f62061cea..76fde00491b 100644 --- a/drivers/clk/clk_versal.c +++ b/drivers/clk/clk_versal.c @@ -602,7 +602,7 @@ static void versal_get_clock_info(void) } } -int versal_clock_setup(void) +static int versal_clock_setup(void) { int ret; |
