Skip to contentSkip to conversation

ARM: mxc: cpufreq.c: include missing module.h header

PATCH New Hector Oron 1 participant 1 message Dec 5, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: mxc: cpufreq.c: include missing module.h header

Fixes a fail to build with following message:

CC [M] arch/arm/plat-mxc/cpufreq.o
arch/arm/plat-mxc/cpufreq.c:203:15: error: expected declaration specifiers or '...' before string constant arch/arm/plat-mxc/cpufreq.c:204:20: error: expected declaration specifiers or '...' before string constant arch/arm/plat-mxc/cpufreq.c:205:16: error: expected declaration specifiers or '...' before string constant

---
 arch/arm/plat-mxc/cpufreq.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/plat-mxc/cpufreq.c +1 -0
index 74aac96..e3073be 100644
@@ -20,6 +20,7 @@
 #include <linux/cpufreq.h>
 #include <linux/clk.h>
 #include <linux/err.h>
+#include <linux/module.h>
 #include <linux/slab.h>
 #include <mach/hardware.h>
 #include <mach/clock.h>
Signature · 1 line
1.7.7.3