ARM mxs: clkdev related compile fixes
authorSascha Hauer <s.hauer@pengutronix.de>
Thu, 13 Jan 2011 15:59:25 +0000 (16:59 +0100)
committerSascha Hauer <s.hauer@pengutronix.de>
Fri, 14 Jan 2011 09:19:27 +0000 (10:19 +0100)
Since commit

6d803ba (ARM: 6483/1: arm & sh: factorised duplicated clkdev.c)

platforms need to select CLKDEV_LOOKUP instead of COMMON_CLKDEV and need
to include <linux/clkdev.h>.

Cc: Shawn Guo <shawn.guo@freescale.com>
Cc: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/Kconfig
arch/arm/mach-mxs/clock-mx23.c
arch/arm/mach-mxs/clock-mx28.c

index 0f3417065d136edf95755cbe74f5b84903b1a7fa..e348db16a9e277d5706efed894b6fb02d0013267 100644 (file)
@@ -355,7 +355,7 @@ config ARCH_MXS
        bool "Freescale MXS-based"
        select GENERIC_CLOCKEVENTS
        select ARCH_REQUIRE_GPIOLIB
-       select COMMON_CLKDEV
+       select CLKDEV_LOOKUP
        help
          Support for Freescale MXS-based family of processors
 
index 136341de05e104a4bd173198f0dd50a1b1ae68ac..b1a362ebfded190a7e959a7f540955b6f5fe6c6e 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/clk.h>
 #include <linux/io.h>
 #include <linux/jiffies.h>
+#include <linux/clkdev.h>
 
 #include <asm/clkdev.h>
 #include <asm/div64.h>
index fcac1a5663b444ac2eb822488e3f7ed0ba82974c..56312c092a9ea08efc0196fb5f87e6f31b12d132 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/clk.h>
 #include <linux/io.h>
 #include <linux/jiffies.h>
+#include <linux/clkdev.h>
 
 #include <asm/clkdev.h>
 #include <asm/div64.h>
This page took 0.039326 seconds and 5 git commands to generate.