]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
[ARM] mmp: move declarations into SoC specific header file from common.h
authorEric Miao <eric.y.miao@gmail.com>
Thu, 15 Jul 2010 14:22:33 +0000 (22:22 +0800)
committerEric Miao <eric.y.miao@gmail.com>
Thu, 5 Aug 2010 06:34:46 +0000 (14:34 +0800)
Signed-off-by: Eric Miao <eric.y.miao@gmail.com>
arch/arm/mach-mmp/common.h
arch/arm/mach-mmp/include/mach/mmp2.h
arch/arm/mach-mmp/include/mach/pxa168.h
arch/arm/mach-mmp/include/mach/pxa910.h
arch/arm/mach-mmp/irq-mmp2.c
arch/arm/mach-mmp/mmp2.c

index 96961750aa9beff61bee3ecae968efe68022631e..ec8d65ded25cb7a6dd908f1d950da7366d38618a 100644 (file)
@@ -3,15 +3,6 @@
 struct sys_timer;
 
 extern void timer_init(int irq);
-extern void mmp2_clear_pmic_int(void);
-
-extern struct sys_timer pxa168_timer;
-extern struct sys_timer pxa910_timer;
-extern struct sys_timer mmp2_timer;
-extern void __init pxa168_init_irq(void);
-extern void __init pxa910_init_irq(void);
-extern void __init mmp2_init_icu(void);
-extern void __init mmp2_init_irq(void);
 
 extern void __init icu_init_irq(void);
 extern void __init mmp_map_io(void);
index fec220bd5046a4f64e8c16bf3df76980f1763a84..dbba6e8a60c41487e3cf4e61cecf9ef6c8231ea9 100644 (file)
@@ -1,6 +1,13 @@
 #ifndef __ASM_MACH_MMP2_H
 #define __ASM_MACH_MMP2_H
 
+struct sys_timer;
+
+extern struct sys_timer mmp2_timer;
+extern void __init mmp2_init_icu(void);
+extern void __init mmp2_init_irq(void);
+extern void mmp2_clear_pmic_int(void);
+
 #include <linux/i2c.h>
 #include <mach/devices.h>
 #include <plat/i2c.h>
index 3b2bd5d5eb050892d093a13f502b115eb83e3baf..27e1bc758623808cb30ed6471ca2d45fb2b40dbd 100644 (file)
@@ -1,6 +1,11 @@
 #ifndef __ASM_MACH_PXA168_H
 #define __ASM_MACH_PXA168_H
 
+struct sys_timer;
+
+extern struct sys_timer pxa168_timer;
+extern void __init pxa168_init_irq(void);
+
 #include <linux/i2c.h>
 #include <mach/devices.h>
 #include <plat/i2c.h>
index 4f0b4ec6f5d0530f158799254271b5e0601dd9a2..f13c49d6f8dc052988e6f5f407f333c2be183a2e 100644 (file)
@@ -1,6 +1,11 @@
 #ifndef __ASM_MACH_PXA910_H
 #define __ASM_MACH_PXA910_H
 
+struct sys_timer;
+
+extern struct sys_timer pxa910_timer;
+extern void __init pxa910_init_irq(void);
+
 #include <linux/i2c.h>
 #include <mach/devices.h>
 #include <plat/i2c.h>
index cb18221c0af3bad337e6655f5ecd605a94e818a8..01342be91c3c6a5df238b39d4a4f5ddf95b118b5 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/io.h>
 
 #include <mach/regs-icu.h>
+#include <mach/mmp2.h>
 
 #include "common.h"
 
index b3fddacc7cb538b2c905d752947250aa5b5271ce..daf3993349f81986fa8f5b90ca0c4bcb4e7acc8a 100644 (file)
@@ -27,6 +27,7 @@
 #include <mach/mfp.h>
 #include <mach/gpio.h>
 #include <mach/devices.h>
+#include <mach/mmp2.h>
 
 #include "common.h"
 #include "clock.h"