浏览代码

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>
Tero Kristo 11 年之前
父节点
当前提交
acd052bb81
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      arch/arm/mach-omap2/clkt_iclk.c

+ 4 - 4
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 */