mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
[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>
This commit is contained in:
parent
02753cb608
commit
b5677d848c
28 changed files with 38 additions and 38 deletions
|
|
@ -14,8 +14,8 @@
|
|||
* IDMA1 space. The remaining DP RAM is available for buffer descriptors
|
||||
* or other use.
|
||||
*/
|
||||
#ifndef __CPM_8XX__
|
||||
#define __CPM_8XX__
|
||||
#ifndef __CPM1__
|
||||
#define __CPM1__
|
||||
|
||||
#include <asm/8xx_immap.h>
|
||||
#include <asm/ptrace.h>
|
||||
|
|
@ -82,7 +82,7 @@ extern int cpm_dpfree(unsigned long offset);
|
|||
extern unsigned long cpm_dpalloc_fixed(unsigned long offset, uint size, uint align);
|
||||
extern void cpm_dpdump(void);
|
||||
extern void *cpm_dpram_addr(unsigned long offset);
|
||||
extern uint cpm_dpram_phys(u8* addr);
|
||||
extern uint cpm_dpram_phys(u8 *addr);
|
||||
#endif
|
||||
|
||||
extern void cpm_setbrg(uint brg, uint rate);
|
||||
|
|
@ -747,4 +747,4 @@ enum cpm_clk {
|
|||
|
||||
int cpm1_clk_setup(enum cpm_clk_target target, int clock, int mode);
|
||||
|
||||
#endif /* __CPM_8XX__ */
|
||||
#endif /* __CPM1__ */
|
||||
|
|
@ -14,8 +14,8 @@
|
|||
* IDMA1 space. The remaining DP RAM is available for buffer descriptors
|
||||
* or other use.
|
||||
*/
|
||||
#ifndef __CPM_8XX__
|
||||
#define __CPM_8XX__
|
||||
#ifndef __CPM1__
|
||||
#define __CPM1__
|
||||
|
||||
#include <asm/8xx_immap.h>
|
||||
#include <asm/ptrace.h>
|
||||
|
|
@ -72,7 +72,7 @@ extern int cpm_dpfree(unsigned long offset);
|
|||
extern unsigned long cpm_dpalloc_fixed(unsigned long offset, uint size, uint align);
|
||||
extern void cpm_dpdump(void);
|
||||
extern void *cpm_dpram_addr(unsigned long offset);
|
||||
extern uint cpm_dpram_phys(u8* addr);
|
||||
extern uint cpm_dpram_phys(u8 *addr);
|
||||
extern void cpm_setbrg(uint brg, uint rate);
|
||||
|
||||
extern void cpm_load_patch(volatile immap_t *immr);
|
||||
|
|
@ -685,4 +685,4 @@ typedef struct risc_timer_pram {
|
|||
extern void cpm_install_handler(int vec, void (*handler)(void *), void *dev_id);
|
||||
extern void cpm_free_handler(int vec);
|
||||
|
||||
#endif /* __CPM_8XX__ */
|
||||
#endif /* __CPM1__ */
|
||||
Loading…
Reference in a new issue