ARM: OMAP2+: clock/interface: remove some headers from clkt_iclk.c file
authorTero Kristo <t-kristo@ti.com>
Wed, 2 Jul 2014 08:47:47 +0000 (11:47 +0300)
committerPaul Walmsley <paul@pwsan.com>
Tue, 15 Jul 2014 20:09:24 +0000 (14:09 -0600)
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>
arch/arm/mach-omap2/clkt_iclk.c

index 333f0a66617165fa23448e19cd6b59c8856c78d3..55eb579aeae1b4afc6a6772b5380d6f7b60c92b5 100644 (file)
 #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 */
 
This page took 0.026257 seconds and 5 git commands to generate.