aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-omap1/common.h2
-rw-r--r--arch/arm/mach-omap2/cm33xx.c2
-rw-r--r--arch/arm/mach-omap2/common.h3
-rw-r--r--arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c2
-rw-r--r--arch/arm/mach-omap2/omap_hwmod_44xx_data.c3
-rw-r--r--arch/arm/mach-omap2/prm33xx.c2
-rw-r--r--arch/arm/mach-omap2/prm_common.c2
-rw-r--r--arch/arm/plat-omap/common.c2
-rw-r--r--arch/arm/plat-omap/common.h (renamed from arch/arm/plat-omap/include/plat/common.h)7
-rw-r--r--arch/arm/plat-omap/counter_32k.c2
10 files changed, 13 insertions, 14 deletions
diff --git a/arch/arm/mach-omap1/common.h b/arch/arm/mach-omap1/common.h
index c96c1320b001..26e19d3b7924 100644
--- a/arch/arm/mach-omap1/common.h
+++ b/arch/arm/mach-omap1/common.h
@@ -26,7 +26,7 @@
26#ifndef __ARCH_ARM_MACH_OMAP1_COMMON_H 26#ifndef __ARCH_ARM_MACH_OMAP1_COMMON_H
27#define __ARCH_ARM_MACH_OMAP1_COMMON_H 27#define __ARCH_ARM_MACH_OMAP1_COMMON_H
28 28
29#include <plat/common.h> 29#include "../plat-omap/common.h"
30#include <linux/mtd/mtd.h> 30#include <linux/mtd/mtd.h>
31#include <linux/i2c-omap.h> 31#include <linux/i2c-omap.h>
32 32
diff --git a/arch/arm/mach-omap2/cm33xx.c b/arch/arm/mach-omap2/cm33xx.c
index 13f56eafef03..b4938abf28cc 100644
--- a/arch/arm/mach-omap2/cm33xx.c
+++ b/arch/arm/mach-omap2/cm33xx.c
@@ -22,7 +22,7 @@
22#include <linux/err.h> 22#include <linux/err.h>
23#include <linux/io.h> 23#include <linux/io.h>
24 24
25#include <plat/common.h> 25#include "../plat-omap/common.h"
26 26
27#include "cm.h" 27#include "cm.h"
28#include "cm33xx.h" 28#include "cm33xx.h"
diff --git a/arch/arm/mach-omap2/common.h b/arch/arm/mach-omap2/common.h
index a68b421b3f86..b91b2a2308aa 100644
--- a/arch/arm/mach-omap2/common.h
+++ b/arch/arm/mach-omap2/common.h
@@ -36,7 +36,8 @@
36 36
37#include <plat/cpu.h> 37#include <plat/cpu.h>
38#include <plat/serial.h> 38#include <plat/serial.h>
39#include <plat/common.h> 39
40#include "../plat-omap/common.h"
40 41
41#include "i2c.h" 42#include "i2c.h"
42 43
diff --git a/arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c b/arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c
index 2420097d29f5..bfe64ee20606 100644
--- a/arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c
@@ -12,7 +12,7 @@
12#include <plat/omap_hwmod.h> 12#include <plat/omap_hwmod.h>
13#include <plat/serial.h> 13#include <plat/serial.h>
14#include <plat-omap/dma-omap.h> 14#include <plat-omap/dma-omap.h>
15#include <plat/common.h> 15#include "../plat-omap/common.h"
16#include "hdq1w.h" 16#include "hdq1w.h"
17 17
18#include "omap_hwmod_common_data.h" 18#include "omap_hwmod_common_data.h"
diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
index 2c736cd2bea1..0cee55135e29 100644
--- a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c
@@ -28,9 +28,10 @@
28#include <linux/platform_data/spi-omap2-mcspi.h> 28#include <linux/platform_data/spi-omap2-mcspi.h>
29#include <linux/platform_data/asoc-ti-mcbsp.h> 29#include <linux/platform_data/asoc-ti-mcbsp.h>
30#include <plat/dmtimer.h> 30#include <plat/dmtimer.h>
31#include <plat/common.h>
32#include <plat/iommu.h> 31#include <plat/iommu.h>
33 32
33#include "../plat-omap/common.h"
34
34#include "omap_hwmod_common_data.h" 35#include "omap_hwmod_common_data.h"
35#include "cm1_44xx.h" 36#include "cm1_44xx.h"
36#include "cm2_44xx.h" 37#include "cm2_44xx.h"
diff --git a/arch/arm/mach-omap2/prm33xx.c b/arch/arm/mach-omap2/prm33xx.c
index e7dbb6cf1255..624ade5c3c33 100644
--- a/arch/arm/mach-omap2/prm33xx.c
+++ b/arch/arm/mach-omap2/prm33xx.c
@@ -19,7 +19,7 @@
19#include <linux/err.h> 19#include <linux/err.h>
20#include <linux/io.h> 20#include <linux/io.h>
21 21
22#include <plat/common.h> 22#include "../plat-omap/common.h"
23 23
24#include "common.h" 24#include "common.h"
25#include "prm33xx.h" 25#include "prm33xx.h"
diff --git a/arch/arm/mach-omap2/prm_common.c b/arch/arm/mach-omap2/prm_common.c
index 6b4d332be2f6..6fabbd816d6b 100644
--- a/arch/arm/mach-omap2/prm_common.c
+++ b/arch/arm/mach-omap2/prm_common.c
@@ -24,7 +24,7 @@
24#include <linux/interrupt.h> 24#include <linux/interrupt.h>
25#include <linux/slab.h> 25#include <linux/slab.h>
26 26
27#include <plat/common.h> 27#include "../plat-omap/common.h"
28#include <plat/prcm.h> 28#include <plat/prcm.h>
29 29
30#include "prm2xxx_3xxx.h" 30#include "prm2xxx_3xxx.h"
diff --git a/arch/arm/plat-omap/common.c b/arch/arm/plat-omap/common.c
index b388e87b522b..2a9db0128a96 100644
--- a/arch/arm/plat-omap/common.c
+++ b/arch/arm/plat-omap/common.c
@@ -16,7 +16,7 @@
16#include <linux/io.h> 16#include <linux/io.h>
17#include <linux/dma-mapping.h> 17#include <linux/dma-mapping.h>
18 18
19#include <plat/common.h> 19#include "common.h"
20#include <plat/vram.h> 20#include <plat/vram.h>
21#include <linux/platform_data/dsp-omap.h> 21#include <linux/platform_data/dsp-omap.h>
22#include <plat-omap/dma-omap.h> 22#include <plat-omap/dma-omap.h>
diff --git a/arch/arm/plat-omap/include/plat/common.h b/arch/arm/plat-omap/common.h
index 55c0f8bfc85b..e196d1300157 100644
--- a/arch/arm/plat-omap/include/plat/common.h
+++ b/arch/arm/plat-omap/common.h
@@ -1,7 +1,5 @@
1/* 1/*
2 * arch/arm/plat-omap/include/mach/common.h 2 * Header for shared OMAP code in plat-omap.
3 *
4 * Header for code common to all OMAP machines.
5 * 3 *
6 * This program is free software; you can redistribute it and/or modify it 4 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the 5 * under the terms of the GNU General Public License as published by the
@@ -27,13 +25,12 @@
27#ifndef __ARCH_ARM_MACH_OMAP_COMMON_H 25#ifndef __ARCH_ARM_MACH_OMAP_COMMON_H
28#define __ARCH_ARM_MACH_OMAP_COMMON_H 26#define __ARCH_ARM_MACH_OMAP_COMMON_H
29 27
30#include <plat/omap_hwmod.h>
31
32extern int __init omap_init_clocksource_32k(void __iomem *vbase); 28extern int __init omap_init_clocksource_32k(void __iomem *vbase);
33 29
34extern void __init omap_check_revision(void); 30extern void __init omap_check_revision(void);
35 31
36extern void omap_reserve(void); 32extern void omap_reserve(void);
33struct omap_hwmod;
37extern int omap_dss_reset(struct omap_hwmod *); 34extern int omap_dss_reset(struct omap_hwmod *);
38 35
39void omap_sram_init(void); 36void omap_sram_init(void);
diff --git a/arch/arm/plat-omap/counter_32k.c b/arch/arm/plat-omap/counter_32k.c
index 87ba8dd0d791..8e847de4c744 100644
--- a/arch/arm/plat-omap/counter_32k.c
+++ b/arch/arm/plat-omap/counter_32k.c
@@ -22,7 +22,7 @@
22#include <asm/mach/time.h> 22#include <asm/mach/time.h>
23#include <asm/sched_clock.h> 23#include <asm/sched_clock.h>
24 24
25#include <plat/common.h> 25#include "common.h"
26#include <plat/clock.h> 26#include <plat/clock.h>
27 27
28/* OMAP2_32KSYNCNT_CR_OFF: offset of 32ksync counter register */ 28/* OMAP2_32KSYNCNT_CR_OFF: offset of 32ksync counter register */