deleted file mode 100644
@@ -1,26 +0,0 @@
-/*
- * OMAP4 Clock Management (CM) definitions
- *
- * Copyright (C) 2007-2011 Texas Instruments, Inc.
- * Copyright (C) 2007-2009 Nokia Corporation
- *
- * Written by Paul Walmsley
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * OMAP4 has two separate CM blocks, CM1 and CM2. This file contains
- * macros and function prototypes that are applicable to both.
- */
-#ifndef __ARCH_ASM_MACH_OMAP2_CM44XX_H
-#define __ARCH_ASM_MACH_OMAP2_CM44XX_H
-
-
-#include "prcm-common.h"
-#include "cm.h"
-
-#define OMAP4_CM_CLKSTCTRL 0x0000
-#define OMAP4_CM_STATICDEP 0x0004
-
-#endif
@@ -18,7 +18,8 @@
#include <linux/power/omap/cm2xxx.h>
#include <linux/power/omap/cm3xxx.h>
-#include "cm44xx.h"
+#include "cm.h"
+#include "prcm-common.h"
/*
* cm_ll_data: function pointers to SoC-specific implementations of
@@ -25,7 +25,6 @@
#include "cm.h"
#include "cm1_44xx.h"
#include "cm2_44xx.h"
-#include "cm44xx.h"
#include "cminst44xx.h"
#include "prcm44xx.h"
#include "prm44xx.h"
@@ -44,6 +43,9 @@
#define OMAP34XX_CLKSTCTRL_FORCE_WAKEUP 0x2
#define OMAP34XX_CLKSTCTRL_ENABLE_AUTO 0x3
+#define OMAP4_CM_CLKSTCTRL 0x0000
+#define OMAP4_CM_STATICDEP 0x0004
+
/*
* CLKCTRL_IDLEST_*: possible values for the CM_*_CLKCTRL.IDLEST bitfield:
*
@@ -24,7 +24,6 @@
#include "cm2xxx_3xxx.h"
#include "prcm44xx.h"
-#include "cm44xx.h"
#include "prm2xxx_3xxx.h"
#include "prm44xx.h"
Contains only two defines used by a single source code file, so move the definitions over and delete the file. Signed-off-by: Tero Kristo <t-kristo@ti.com> --- arch/arm/mach-omap2/cm44xx.h | 26 -------------------------- arch/arm/mach-omap2/cm_common.c | 3 ++- arch/arm/mach-omap2/cminst44xx.c | 4 +++- arch/arm/mach-omap2/powerdomain.c | 1 - 4 files changed, 5 insertions(+), 29 deletions(-) delete mode 100644 arch/arm/mach-omap2/cm44xx.h