diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2011-01-13 10:59:25 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-01-14 04:19:27 -0500 |
commit | b9214b9780d6897a6892e7c8cc903168d6fef097 (patch) | |
tree | 0c39d8a89e44f64226fafddcb32e933162d2111c /arch/arm | |
parent | c97b73939a3ed8618ad1baf3be4c8f5d11426de6 (diff) |
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/arm')
-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 0f3417065d13..e348db16a9e2 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -355,7 +355,7 @@ config ARCH_MXS | |||
355 | bool "Freescale MXS-based" | 355 | bool "Freescale MXS-based" |
356 | select GENERIC_CLOCKEVENTS | 356 | select GENERIC_CLOCKEVENTS |
357 | select ARCH_REQUIRE_GPIOLIB | 357 | select ARCH_REQUIRE_GPIOLIB |
358 | select COMMON_CLKDEV | 358 | select CLKDEV_LOOKUP |
359 | help | 359 | help |
360 | Support for Freescale MXS-based family of processors | 360 | Support for Freescale MXS-based family of processors |
361 | 361 | ||
diff --git a/arch/arm/mach-mxs/clock-mx23.c b/arch/arm/mach-mxs/clock-mx23.c index 136341de05e1..b1a362ebfded 100644 --- a/arch/arm/mach-mxs/clock-mx23.c +++ b/arch/arm/mach-mxs/clock-mx23.c | |||
@@ -21,6 +21,7 @@ | |||
21 | #include <linux/clk.h> | 21 | #include <linux/clk.h> |
22 | #include <linux/io.h> | 22 | #include <linux/io.h> |
23 | #include <linux/jiffies.h> | 23 | #include <linux/jiffies.h> |
24 | #include <linux/clkdev.h> | ||
24 | 25 | ||
25 | #include <asm/clkdev.h> | 26 | #include <asm/clkdev.h> |
26 | #include <asm/div64.h> | 27 | #include <asm/div64.h> |
diff --git a/arch/arm/mach-mxs/clock-mx28.c b/arch/arm/mach-mxs/clock-mx28.c index fcac1a5663b4..56312c092a9e 100644 --- a/arch/arm/mach-mxs/clock-mx28.c +++ b/arch/arm/mach-mxs/clock-mx28.c | |||
@@ -21,6 +21,7 @@ | |||
21 | #include <linux/clk.h> | 21 | #include <linux/clk.h> |
22 | #include <linux/io.h> | 22 | #include <linux/io.h> |
23 | #include <linux/jiffies.h> | 23 | #include <linux/jiffies.h> |
24 | #include <linux/clkdev.h> | ||
24 | 25 | ||
25 | #include <asm/clkdev.h> | 26 | #include <asm/clkdev.h> |
26 | #include <asm/div64.h> | 27 | #include <asm/div64.h> |