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 – Aug 3, 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.

Thanks, I'll apply it to the module.h cleanup branch that is soaking in linux-next.

P.

Quoted 18 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;
author
#2 lore raw
Quoted 7 lines · Paul Gortmaker
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.

Thanks, I'll apply it to the module.h cleanup branch that is soaking in linux-next.

There's a bunch of other changes fixing issues with this floating around
- Randy Dunlap sent something for a regulator driver the other day and I've got a couple of other Samsung patches I sent on the basis that this must have been caused by a change in the Samsung headers.

#3 lore raw
Quoted 6 lines · [Re: [PATCH] cpufreq: Fix build of s3c64xx cpufreq driver for header change]…
Quoted 4 lines · Paul Gortmaker
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 7 lines
Quoted 2 lines

Thanks, I'll apply it to the module.h cleanup branch that is soaking in linux-next.

There's a bunch of other changes fixing issues with this floating around
- Randy Dunlap sent something for a regulator driver the other day and I've got a couple of other Samsung patches I sent on the basis that this must have been caused by a change in the Samsung headers.

It is all taken care of, so you don't have to worry. It isn't a change specific to any Samsung headers. If you are interested to know the background of what is being changed and why, this is a good start.

https://lkml.org/lkml/2011/5/27/459

https://lkml.org/lkml/2011/7/28/12

Thanks,
Paul.

author
#4 lore raw
Quoted 2 lines · Paul Gortmaker

It is all taken care of, so you don't have to worry. It isn't a change specific to any Samsung headers. If you are interested to know the

I'm not worried, I'm now perfectly aware of the source of the breakage. My goal is to make sure that you're aware that there are other patches for this stuff that have been submitted separately which you're likely to collide with if you're fixing these issues yourself.

#5 lore raw
Quoted 9 lines · [Re: [PATCH] cpufreq: Fix build of s3c64xx cpufreq driver for header change]…
Quoted 2 lines · Paul Gortmaker

It is all taken care of, so you don't have to worry. It isn't a change specific to any Samsung headers. If you are interested to know the

I'm not worried, I'm now perfectly aware of the source of the breakage. My goal is to make sure that you're aware that there are other patches for this stuff that have been submitted separately which you're likely to collide with if you're fixing these issues yourself.

As long as commits end up in Linus' tree directly or in one of the queues that are a part of the linux-next infrastructure, we have good visibility of any conflicts thanks to Stephen R's work with next.

Paul.