mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:24:45 +01:00
MIPS: lantiq: xway: mark ltq_ar9_sys_hz() as static
Fix the following missing-prototypes warning:
arch/mips/lantiq/xway/clk.c:77:15: error: no previous prototype for 'ltq_ar9_sys_hz' [-Werror=missing-prototypes]
77 | unsigned long ltq_ar9_sys_hz(void)
| ^~~~~~~~~~~~~~
Signed-off-by: Shiji Yang <yangshiji66@outlook.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
This commit is contained in:
parent
d97394bf38
commit
de521c6d99
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ unsigned long ltq_danube_pp32_hz(void)
|
|||
return clk;
|
||||
}
|
||||
|
||||
unsigned long ltq_ar9_sys_hz(void)
|
||||
static unsigned long ltq_ar9_sys_hz(void)
|
||||
{
|
||||
if (((ltq_cgu_r32(CGU_SYS) >> 3) & 0x3) == 0x2)
|
||||
return CLOCK_393M;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue