diff options
author | Scott Wood <scottwood@freescale.com> | 2007-08-20 12:36:19 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-08-22 01:21:47 -0400 |
commit | 4b218e9bb2fbbc57b5a05de41d77c056a134528c (patch) | |
tree | df4bc0a676589d2d2ee506398d64ea0ca5021474 /arch/powerpc/sysdev/commproc.c | |
parent | 16a15a30f8a09af6ce2dc4fd6eec9b454c1fe488 (diff) |
[POWERPC] Whitespace cleanup in arch/powerpc
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/sysdev/commproc.c')
-rw-r--r-- | arch/powerpc/sysdev/commproc.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/arch/powerpc/sysdev/commproc.c b/arch/powerpc/sysdev/commproc.c index 4f67b89ba1d0..e8e79f83d198 100644 --- a/arch/powerpc/sysdev/commproc.c +++ b/arch/powerpc/sysdev/commproc.c | |||
@@ -45,10 +45,10 @@ | |||
45 | #define CPM_MAP_SIZE (0x4000) | 45 | #define CPM_MAP_SIZE (0x4000) |
46 | 46 | ||
47 | static void m8xx_cpm_dpinit(void); | 47 | static void m8xx_cpm_dpinit(void); |
48 | static uint host_buffer; /* One page of host buffer */ | 48 | static uint host_buffer; /* One page of host buffer */ |
49 | static uint host_end; /* end + 1 */ | 49 | static uint host_end; /* end + 1 */ |
50 | cpm8xx_t *cpmp; /* Pointer to comm processor space */ | 50 | cpm8xx_t *cpmp; /* Pointer to comm processor space */ |
51 | cpic8xx_t *cpic_reg; | 51 | cpic8xx_t *cpic_reg; |
52 | 52 | ||
53 | static struct device_node *cpm_pic_node; | 53 | static struct device_node *cpm_pic_node; |
54 | static struct irq_host *cpm_pic_host; | 54 | static struct irq_host *cpm_pic_host; |
@@ -115,7 +115,7 @@ static int cpm_pic_host_map(struct irq_host *h, unsigned int virq, | |||
115 | * and return. This is a no-op function so we don't need any special | 115 | * and return. This is a no-op function so we don't need any special |
116 | * tests in the interrupt handler. | 116 | * tests in the interrupt handler. |
117 | */ | 117 | */ |
118 | static irqreturn_t cpm_error_interrupt(int irq, void *dev) | 118 | static irqreturn_t cpm_error_interrupt(int irq, void *dev) |
119 | { | 119 | { |
120 | return IRQ_HANDLED; | 120 | return IRQ_HANDLED; |
121 | } | 121 | } |
@@ -181,7 +181,7 @@ unsigned int cpm_pic_init(void) | |||
181 | printk(KERN_ERR "CPM PIC init: can not find cpm node\n"); | 181 | printk(KERN_ERR "CPM PIC init: can not find cpm node\n"); |
182 | goto end; | 182 | goto end; |
183 | } | 183 | } |
184 | eirq= irq_of_parse_and_map(np, 0); | 184 | eirq = irq_of_parse_and_map(np, 0); |
185 | if (eirq == NO_IRQ) | 185 | if (eirq == NO_IRQ) |
186 | goto end; | 186 | goto end; |
187 | 187 | ||
@@ -197,15 +197,15 @@ end: | |||
197 | 197 | ||
198 | void cpm_reset(void) | 198 | void cpm_reset(void) |
199 | { | 199 | { |
200 | cpm8xx_t *commproc; | 200 | cpm8xx_t *commproc; |
201 | sysconf8xx_t *siu_conf; | 201 | sysconf8xx_t *siu_conf; |
202 | 202 | ||
203 | commproc = (cpm8xx_t *)ioremap(CPM_MAP_ADDR, CPM_MAP_SIZE); | 203 | commproc = (cpm8xx_t *)ioremap(CPM_MAP_ADDR, CPM_MAP_SIZE); |
204 | 204 | ||
205 | #ifdef CONFIG_UCODE_PATCH | 205 | #ifdef CONFIG_UCODE_PATCH |
206 | /* Perform a reset. | 206 | /* Perform a reset. |
207 | */ | 207 | */ |
208 | out_be16(&commproc->cp_cpcr, CPM_CR_RST | CPM_CR_FLG); | 208 | out_be16(&commproc->cp_cpcr, CPM_CR_RST | CPM_CR_FLG); |
209 | 209 | ||
210 | /* Wait for it. | 210 | /* Wait for it. |
211 | */ | 211 | */ |
@@ -307,7 +307,7 @@ static rh_block_t cpm_boot_dpmem_rh_block[16]; | |||
307 | static rh_info_t cpm_dpmem_info; | 307 | static rh_info_t cpm_dpmem_info; |
308 | 308 | ||
309 | #define CPM_DPMEM_ALIGNMENT 8 | 309 | #define CPM_DPMEM_ALIGNMENT 8 |
310 | static u8* dpram_vbase; | 310 | static u8 *dpram_vbase; |
311 | static uint dpram_pbase; | 311 | static uint dpram_pbase; |
312 | 312 | ||
313 | void m8xx_cpm_dpinit(void) | 313 | void m8xx_cpm_dpinit(void) |