@@ -18,7 +18,6 @@
#include <linux/io.h>
#include <linux/irq.h>
-#include "vp.h"
#include "powerdomain.h"
#include <linux/power/omap/prm3xxx.h>
#include "prm2xxx_3xxx_private.h"
@@ -19,7 +19,6 @@
#include <linux/io.h>
-#include "vp.h"
#include <linux/power/omap/prm44xx.h>
#include <linux/power/omap/prm54xx.h>
#include <linux/power/omap/prm7xx.h>
@@ -21,15 +21,6 @@
struct voltagedomain;
-/*
- * Voltage Processor (VP) identifiers
- */
-#define OMAP3_VP_VDD_MPU_ID 0
-#define OMAP3_VP_VDD_CORE_ID 1
-#define OMAP4_VP_VDD_CORE_ID 0
-#define OMAP4_VP_VDD_IVA_ID 1
-#define OMAP4_VP_VDD_MPU_ID 2
-
/* XXX document */
#define VP_IDLE_TIMEOUT 200
#define VP_TRANXDONE_TIMEOUT 300
@@ -18,6 +18,9 @@
#include <linux/power/omap/prm2xxx_3xxx.h>
+#define OMAP3_VP_VDD_MPU_ID 0
+#define OMAP3_VP_VDD_CORE_ID 1
+
/*
* OMAP3-specific global PRM registers
* Use __raw_{read,write}l() with these registers.
@@ -25,6 +25,10 @@
#ifndef __LINUX_POWER_OMAP_PRM44XX_H
#define __LINUX_POWER_OMAP_PRM44XX_H
+#define OMAP4_VP_VDD_CORE_ID 0
+#define OMAP4_VP_VDD_IVA_ID 1
+#define OMAP4_VP_VDD_MPU_ID 2
+
/* PRM instances */
#define OMAP4430_PRM_OCP_SOCKET_INST 0x0000
#define OMAP4430_PRM_CKGEN_INST 0x0100
vp.h is not publicly available, however the PRM driver requires access to these so moved to prm public headers. Signed-off-by: Tero Kristo <t-kristo@ti.com> --- arch/arm/mach-omap2/prm3xxx.c | 1 - arch/arm/mach-omap2/prm44xx.c | 1 - arch/arm/mach-omap2/vp.h | 9 --------- include/linux/power/omap/prm3xxx.h | 3 +++ include/linux/power/omap/prm44xx.h | 4 ++++ 5 files changed, 7 insertions(+), 11 deletions(-)