summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/clkt_iclk.c
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2014-07-02 10:47:47 +0200
committerPaul Walmsley <paul@pwsan.com>2014-07-15 22:09:24 +0200
commitacd052bb8119dd9117e0af48ff0ac6e56e61b6b4 (patch)
tree399f984a2cd7e51b7c5d34508d427a01b2b96ee0 /arch/arm/mach-omap2/clkt_iclk.c
parentARM: OMAP2+: clock/dpll: remove unused header includes from dpll3xxx.c (diff)
downloadlinux-acd052bb8119dd9117e0af48ff0ac6e56e61b6b4.tar.xz
linux-acd052bb8119dd9117e0af48ff0ac6e56e61b6b4.zip
ARM: OMAP2+: clock/interface: remove some headers from clkt_iclk.c file
Instead, copy the used constants from the header file to the source file. This allows the code to be migrated under drivers folder where we don't have access to the OMAP specific header files. Signed-off-by: Tero Kristo <t-kristo@ti.com> Reviewed-by: Mike Turquette <mturquette@linaro.org> Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/clkt_iclk.c')
-rw-r--r--arch/arm/mach-omap2/clkt_iclk.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/clkt_iclk.c b/arch/arm/mach-omap2/clkt_iclk.c
index 333f0a666171..55eb579aeae1 100644
--- a/arch/arm/mach-omap2/clkt_iclk.c
+++ b/arch/arm/mach-omap2/clkt_iclk.c
@@ -14,11 +14,11 @@
#include <linux/clk-provider.h>
#include <linux/io.h>
-
#include "clock.h"
-#include "clock2xxx.h"
-#include "cm2xxx_3xxx.h"
-#include "cm-regbits-24xx.h"
+
+/* Register offsets */
+#define CM_AUTOIDLE 0x30
+#define CM_ICLKEN 0x10
/* Private functions */