ソースを参照

cpufreq: Fix build of s3c64xx cpufreq driver for header change

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

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Mark Brown 14 年 前
コミット
a6ee87790b
1 ファイル変更1 行追加0 行削除
  1. 1 0
      drivers/cpufreq/s3c64xx-cpufreq.c

+ 1 - 0
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;