Re: [PATCH] cpufreq: Fix build of s3c64xx cpufreq driver for headerchange

From: Dave Jones
Date: Fri Jul 29 2011 - 10:48:13 EST


On Fri, Jul 29, 2011 at 03:26:58PM +0100, Mark Brown wrote:
> 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

> Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> ---
> drivers/cpufreq/s3c64xx-cpufreq.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/cpufreq/s3c64xx-cpufreq.c b/drivers/cpufreq/s3c64xx-cpufreq.c
> index b8d1d20..3475f65 100644
> --- a/drivers/cpufreq/s3c64xx-cpufreq.c
> +++ b/drivers/cpufreq/s3c64xx-cpufreq.c
> @@ -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;
> --
> 1.7.5.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/