diff options
author | Tony Lindgren <tony@atomide.com> | 2011-11-10 16:45:17 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-11-17 12:09:30 -0500 |
commit | 4e65331c6bb4a777bd61a4dac0daa9fc47777b63 (patch) | |
tree | 0081e367204e9ec7ed922e3089a72c666df193b5 /arch/arm/mach-omap2/omap4-common.c | |
parent | 6a6f1efaced2ca7f8cd581a220af428c6bfc909d (diff) |
ARM: 7159/1: OMAP: Introduce local common.h files
As suggested by Russell King - ARM Linux <linux@arm.linux.org.uk>,
there's no need to keep local prototypes in non-local headers.
Add mach-omap1/common.h and mach-omap2/common.h and move the
local prototypes there from plat/common.h and mach/omap4-common.h.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-omap2/omap4-common.c')
-rw-r--r-- | arch/arm/mach-omap2/omap4-common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/omap4-common.c b/arch/arm/mach-omap2/omap4-common.c index 35ac3e5f6e94..f327d7472ca7 100644 --- a/arch/arm/mach-omap2/omap4-common.c +++ b/arch/arm/mach-omap2/omap4-common.c | |||
@@ -22,7 +22,8 @@ | |||
22 | #include <plat/irqs.h> | 22 | #include <plat/irqs.h> |
23 | 23 | ||
24 | #include <mach/hardware.h> | 24 | #include <mach/hardware.h> |
25 | #include <mach/omap4-common.h> | 25 | |
26 | #include "common.h" | ||
26 | 27 | ||
27 | #ifdef CONFIG_CACHE_L2X0 | 28 | #ifdef CONFIG_CACHE_L2X0 |
28 | void __iomem *l2cache_base; | 29 | void __iomem *l2cache_base; |