diff --git a/target/linux/lantiq/patches-6.6/0008-MIPS-lantiq-backport-old-timer-code.patch b/target/linux/lantiq/patches-6.6/0008-MIPS-lantiq-backport-old-timer-code.patch index a396efd9907..08977b111b5 100644 --- a/target/linux/lantiq/patches-6.6/0008-MIPS-lantiq-backport-old-timer-code.patch +++ b/target/linux/lantiq/patches-6.6/0008-MIPS-lantiq-backport-old-timer-code.patch @@ -186,7 +186,7 @@ Signed-off-by: John Crispin obj-y += vmmc.o --- /dev/null +++ b/arch/mips/lantiq/xway/timer.c -@@ -0,0 +1,888 @@ +@@ -0,0 +1,889 @@ +#ifndef CONFIG_SOC_AMAZON_SE + +#include @@ -200,6 +200,7 @@ Signed-off-by: John Crispin +#include +#include +#include ++#include +#include +#include + @@ -346,7 +347,7 @@ Signed-off-by: John Crispin +}; + + -+unsigned int ltq_get_fpi_bus_clock(int fpi) { ++static unsigned int ltq_get_fpi_bus_clock(int fpi) { + struct clk *clk = clk_get_fpi(); + return clk_get_rate(clk); +} @@ -1049,7 +1050,7 @@ Signed-off-by: John Crispin + }, +}; + -+int __init lq_gptu_init(void) ++static int __init lq_gptu_init(void) +{ + int ret = platform_driver_register(&gptu_driver); + @@ -1058,7 +1059,7 @@ Signed-off-by: John Crispin + return ret; +} + -+void __exit lq_gptu_exit(void) ++static void __exit lq_gptu_exit(void) +{ + unsigned int i; +