diff options
author | Jochen Friedrich <jochen@scram.de> | 2008-01-25 09:31:42 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-01-28 09:31:05 -0500 |
commit | b5677d848cbb94220ac2cfd36d93bcdbe49c3280 (patch) | |
tree | 608c92fa1b90b5d0918c66402aacc66c0b813d81 /include | |
parent | 02753cb608cc2c35dbe670b466eb3b88d063b42e (diff) |
[POWERPC] CPM: Rename commproc to cpm1 and cpm2_common.c to cpm2.c
Rename commproc.[ch] to cpm1.[ch] to be more consistent with cpm2. Also
rename cpm2_common.c to cpm2.c as suggested by Scott Wood. Adjust the
includes accordingly.
Signed-off-by: Jochen Friedrich <jochen@scram.de>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-powerpc/cpm1.h (renamed from include/asm-powerpc/commproc.h) | 8 | ||||
-rw-r--r-- | include/asm-ppc/cpm1.h (renamed from include/asm-ppc/commproc.h) | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/include/asm-powerpc/commproc.h b/include/asm-powerpc/cpm1.h index ec87b8fff075..901a00b48959 100644 --- a/include/asm-powerpc/commproc.h +++ b/include/asm-powerpc/cpm1.h | |||
@@ -14,8 +14,8 @@ | |||
14 | * IDMA1 space. The remaining DP RAM is available for buffer descriptors | 14 | * IDMA1 space. The remaining DP RAM is available for buffer descriptors |
15 | * or other use. | 15 | * or other use. |
16 | */ | 16 | */ |
17 | #ifndef __CPM_8XX__ | 17 | #ifndef __CPM1__ |
18 | #define __CPM_8XX__ | 18 | #define __CPM1__ |
19 | 19 | ||
20 | #include <asm/8xx_immap.h> | 20 | #include <asm/8xx_immap.h> |
21 | #include <asm/ptrace.h> | 21 | #include <asm/ptrace.h> |
@@ -82,7 +82,7 @@ extern int cpm_dpfree(unsigned long offset); | |||
82 | extern unsigned long cpm_dpalloc_fixed(unsigned long offset, uint size, uint align); | 82 | extern unsigned long cpm_dpalloc_fixed(unsigned long offset, uint size, uint align); |
83 | extern void cpm_dpdump(void); | 83 | extern void cpm_dpdump(void); |
84 | extern void *cpm_dpram_addr(unsigned long offset); | 84 | extern void *cpm_dpram_addr(unsigned long offset); |
85 | extern uint cpm_dpram_phys(u8* addr); | 85 | extern uint cpm_dpram_phys(u8 *addr); |
86 | #endif | 86 | #endif |
87 | 87 | ||
88 | extern void cpm_setbrg(uint brg, uint rate); | 88 | extern void cpm_setbrg(uint brg, uint rate); |
@@ -747,4 +747,4 @@ enum cpm_clk { | |||
747 | 747 | ||
748 | int cpm1_clk_setup(enum cpm_clk_target target, int clock, int mode); | 748 | int cpm1_clk_setup(enum cpm_clk_target target, int clock, int mode); |
749 | 749 | ||
750 | #endif /* __CPM_8XX__ */ | 750 | #endif /* __CPM1__ */ |
diff --git a/include/asm-ppc/commproc.h b/include/asm-ppc/cpm1.h index 5418d6de1737..03035acd85c6 100644 --- a/include/asm-ppc/commproc.h +++ b/include/asm-ppc/cpm1.h | |||
@@ -14,8 +14,8 @@ | |||
14 | * IDMA1 space. The remaining DP RAM is available for buffer descriptors | 14 | * IDMA1 space. The remaining DP RAM is available for buffer descriptors |
15 | * or other use. | 15 | * or other use. |
16 | */ | 16 | */ |
17 | #ifndef __CPM_8XX__ | 17 | #ifndef __CPM1__ |
18 | #define __CPM_8XX__ | 18 | #define __CPM1__ |
19 | 19 | ||
20 | #include <asm/8xx_immap.h> | 20 | #include <asm/8xx_immap.h> |
21 | #include <asm/ptrace.h> | 21 | #include <asm/ptrace.h> |
@@ -72,7 +72,7 @@ extern int cpm_dpfree(unsigned long offset); | |||
72 | extern unsigned long cpm_dpalloc_fixed(unsigned long offset, uint size, uint align); | 72 | extern unsigned long cpm_dpalloc_fixed(unsigned long offset, uint size, uint align); |
73 | extern void cpm_dpdump(void); | 73 | extern void cpm_dpdump(void); |
74 | extern void *cpm_dpram_addr(unsigned long offset); | 74 | extern void *cpm_dpram_addr(unsigned long offset); |
75 | extern uint cpm_dpram_phys(u8* addr); | 75 | extern uint cpm_dpram_phys(u8 *addr); |
76 | extern void cpm_setbrg(uint brg, uint rate); | 76 | extern void cpm_setbrg(uint brg, uint rate); |
77 | 77 | ||
78 | extern void cpm_load_patch(volatile immap_t *immr); | 78 | extern void cpm_load_patch(volatile immap_t *immr); |
@@ -685,4 +685,4 @@ typedef struct risc_timer_pram { | |||
685 | extern void cpm_install_handler(int vec, void (*handler)(void *), void *dev_id); | 685 | extern void cpm_install_handler(int vec, void (*handler)(void *), void *dev_id); |
686 | extern void cpm_free_handler(int vec); | 686 | extern void cpm_free_handler(int vec); |
687 | 687 | ||
688 | #endif /* __CPM_8XX__ */ | 688 | #endif /* __CPM1__ */ |