summaryrefslogtreecommitdiffstats
path: root/target/linux/orion/patches/400-fix-section-mismatch-warnings.patch
blob: f0685d375192910f0374e6edbf65d944ebbaf370 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/arch/arm/mach-orion5x/common.c
+++ b/arch/arm/mach-orion5x/common.c
@@ -242,7 +242,7 @@ void orion5x_setup_wins(void)
 
 int orion5x_tclk;
 
-int __init orion5x_find_tclk(void)
+static __init int orion5x_find_tclk(void)
 {
 	u32 dev, rev;