Skip to contentSkip to conversation

cpufreq: Fix build of s3c64xx cpufreq driver for header change

PATCH In review Mark Brown 2 participants 6 messages Jul 29, 2011

Subsystems (2)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 cpufreq: Fix build of s3c64xx cpufreq driver for header change

Some header change has removed an implicit include of module.h, breaking the build due to the use of THIS_MODULE. Fix that.

---
 drivers/cpufreq/s3c64xx-cpufreq.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/cpufreq/s3c64xx-cpufreq.c +1 -0
index b8d1d20..3475f65 100644
@@ -15,6 +15,7 @@
 #include <linux/clk.h>
 #include <linux/err.h>
 #include <linux/regulator/consumer.h>
+#include <linux/module.h>
 
 static struct clk *armclk;
 static struct regulator *vddarm;
Signature · 1 line
1.7.5.4
#1 lore raw
Quoted 2 lines · Mark Brown

Some header change has removed an implicit include of module.h, breaking the build due to the use of THIS_MODULE. Fix that.

is this dependant on the module.h changes that just got merged in -next from Paul Gortmaker ? If so, it should probably get merged as part of that set.

Dave

Quoted 19 lines
---
 drivers/cpufreq/s3c64xx-cpufreq.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/cpufreq/s3c64xx-cpufreq.c +1 -0
index b8d1d20..3475f65 100644
@@ -15,6 +15,7 @@
 #include <linux/clk.h>
 #include <linux/err.h>
 #include <linux/regulator/consumer.h>
+#include <linux/module.h>
 
 static struct clk *armclk;
 static struct regulator *vddarm;
Signature · 1 line
1.7.5.4
author
#2 lore raw
Quoted 6 lines · Dave Jones
Quoted 2 lines · Mark Brown

Some header change has removed an implicit include of module.h, breaking the build due to the use of THIS_MODULE. Fix that.

is this dependant on the module.h changes that just got merged in -next from Paul Gortmaker ? If so, it should probably get merged as part of that set.

Possibly, but there were a bunch of other failures in the Samsung specific stuff not related to module.h which appeared today. I did run into another non-samsung module.h failure, though. Mostly I was just surprised stuff like this was showing up so late in the merge window, I didn't spend a lot of time investigating what broke.

#3 lore raw
Quoted 5 lines · Mark Brown
Quoted 3 lines · Dave Jones
Quoted 2 lines · Mark Brown

Some header change has removed an implicit include of module.h, breaking the build due to the use of THIS_MODULE. Fix that.

Quoted 8 lines
Quoted 2 lines

is this dependant on the module.h changes that just got merged in -next from Paul Gortmaker ? If so, it should probably get merged as part of that set.

Possibly, but there were a bunch of other failures in the Samsung specific stuff not related to module.h which appeared today. I did run into another non-samsung module.h failure, though. Mostly I was just surprised stuff like this was showing up so late in the merge window, I didn't spend a lot of time investigating what broke.

wait, confused. Were you building Linus' tree, or -next ?

Dave

author
#4 lore raw
Quoted 9 lines · Dave Jones
Quoted 5 lines · Mark Brown

Possibly, but there were a bunch of other failures in the Samsung specific stuff not related to module.h which appeared today. I did run into another non-samsung module.h failure, though. Mostly I was just surprised stuff like this was showing up so late in the merge window, I didn't spend a lot of time investigating what broke.

wait, confused. Were you building Linus' tree, or -next ?

-next (given that the merge window is still open it should be emptying out other than bug fixes...).

#5 lore raw
Quoted 9 lines · Mark Brown
Quoted 7 lines · Dave Jones
Quoted 5 lines · Mark Brown

Possibly, but there were a bunch of other failures in the Samsung specific stuff not related to module.h which appeared today. I did run into another non-samsung module.h failure, though. Mostly I was just surprised stuff like this was showing up so late in the merge window, I didn't spend a lot of time investigating what broke.

Quoted 4 lines
Quoted 1 line

wait, confused. Were you building Linus' tree, or -next ?

-next (given that the merge window is still open it should be emptying out other than bug fixes...).

Ok, I'll let Stephen and/or Paul grab this one then.

Dave