@@ -27,7 +27,6 @@
#include <linux/power/omap/cm44xx.h>
#include <linux/power/omap/prcm44xx.h>
#include <linux/power/omap/prm44xx.h>
-#include "prcm_mpu44xx.h"
#include <linux/power/omap/prcm-common.h>
#define OMAP4430_IDLEST_SHIFT 16
@@ -24,8 +24,6 @@
#define __ARCH_ARM_MACH_OMAP2_PRCM_MPU_44XX_54XX_H
#ifndef __ASSEMBLER__
-extern void __iomem *prcm_mpu_base;
-
extern u32 omap4_prcm_mpu_read_inst_reg(s16 inst, u16 idx);
extern void omap4_prcm_mpu_write_inst_reg(u32 val, s16 inst, u16 idx);
extern u32 omap4_prcm_mpu_rmw_inst_reg_bits(u32 mask, u32 bits, s16 inst,
@@ -22,7 +22,6 @@
#include <linux/power/omap/prm54xx.h>
#include <linux/power/omap/prm7xx.h>
#include <linux/power/omap/prcm44xx.h>
-#include "prcm_mpu44xx.h"
#define OMAP4430_RST_GLOBAL_WARM_SW_MASK (1 << 0)
@@ -535,6 +535,7 @@ enum {
};
extern void __iomem *clk_memmaps[];
+extern void __iomem *prcm_mpu_base;
void omap_prcm_irq_cleanup(void);
int omap_prcm_register_chain_handler(struct omap_prcm_irq_setup *irq_setup);
Needed from both PRCM core code and mach-omap2 board code. This gets rid of need to include the prcm_mpu_44xx_54xx.h header to the PRCM core code. Signed-off-by: Tero Kristo <t-kristo@ti.com> --- arch/arm/mach-omap2/cminst44xx.c | 1 - arch/arm/mach-omap2/prcm_mpu_44xx_54xx.h | 2 -- arch/arm/mach-omap2/prminst44xx.c | 1 - include/linux/power/omap/prcm-common.h | 1 + 4 files changed, 1 insertion(+), 4 deletions(-)