diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2011-01-13 16:59:25 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-01-14 10:19:27 +0100 |
commit | b9214b9780d6897a6892e7c8cc903168d6fef097 (patch) | |
tree | 0c39d8a89e44f64226fafddcb32e933162d2111c /arch | |
parent | c97b73939a3ed8618ad1baf3be4c8f5d11426de6 (diff) | |
download | linux-3.10-b9214b9780d6897a6892e7c8cc903168d6fef097.tar.gz linux-3.10-b9214b9780d6897a6892e7c8cc903168d6fef097.tar.bz2 linux-3.10-b9214b9780d6897a6892e7c8cc903168d6fef097.zip |
ARM mxs: clkdev related compile fixes
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/Kconfig | 2 | ||||
-rw-r--r-- | arch/arm/mach-mxs/clock-mx23.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-mxs/clock-mx28.c | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 0f3417065d1..e348db16a9e 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -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 diff --git a/arch/arm/mach-mxs/clock-mx23.c b/arch/arm/mach-mxs/clock-mx23.c index 136341de05e..b1a362ebfde 100644 --- a/arch/arm/mach-mxs/clock-mx23.c +++ b/arch/arm/mach-mxs/clock-mx23.c @@ -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> diff --git a/arch/arm/mach-mxs/clock-mx28.c b/arch/arm/mach-mxs/clock-mx28.c index fcac1a5663b..56312c092a9 100644 --- a/arch/arm/mach-mxs/clock-mx28.c +++ b/arch/arm/mach-mxs/clock-mx28.c @@ -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> |