diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-10-11 18:46:15 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-10-11 18:46:15 -0400 |
commit | 21a151d8ca3aa74ee79f9791a9d4dc370d3e0636 (patch) | |
tree | 8556b3a32ded6a49225beb4a7aa4447cc87a0e00 /include/asm-mips/tx4938/tx4938.h | |
parent | 49a89efbbbcc178a39555c43bd59a7593c429664 (diff) |
[MIPS] checkfiles: Fix "need space after that ','" errors.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/tx4938/tx4938.h')
-rw-r--r-- | include/asm-mips/tx4938/tx4938.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/include/asm-mips/tx4938/tx4938.h b/include/asm-mips/tx4938/tx4938.h index afdb19813ca1..650b010761f9 100644 --- a/include/asm-mips/tx4938/tx4938.h +++ b/include/asm-mips/tx4938/tx4938.h | |||
@@ -16,7 +16,7 @@ | |||
16 | #include <asm/tx4938/tx4938_mips.h> | 16 | #include <asm/tx4938/tx4938_mips.h> |
17 | 17 | ||
18 | #define tx4938_read_nfmc(addr) (*(volatile unsigned int *)(addr)) | 18 | #define tx4938_read_nfmc(addr) (*(volatile unsigned int *)(addr)) |
19 | #define tx4938_write_nfmc(b,addr) (*(volatile unsigned int *)(addr)) = (b) | 19 | #define tx4938_write_nfmc(b, addr) (*(volatile unsigned int *)(addr)) = (b) |
20 | 20 | ||
21 | #define TX4938_NR_IRQ_LOCAL TX4938_IRQ_PIC_BEG | 21 | #define TX4938_NR_IRQ_LOCAL TX4938_IRQ_PIC_BEG |
22 | 22 | ||
@@ -84,27 +84,27 @@ | |||
84 | #include <asm/byteorder.h> | 84 | #include <asm/byteorder.h> |
85 | 85 | ||
86 | #ifdef __BIG_ENDIAN | 86 | #ifdef __BIG_ENDIAN |
87 | #define endian_def_l2(e1,e2) \ | 87 | #define endian_def_l2(e1, e2) \ |
88 | volatile unsigned long e1,e2 | 88 | volatile unsigned long e1, e2 |
89 | #define endian_def_s2(e1,e2) \ | 89 | #define endian_def_s2(e1, e2) \ |
90 | volatile unsigned short e1,e2 | 90 | volatile unsigned short e1, e2 |
91 | #define endian_def_sb2(e1,e2,e3) \ | 91 | #define endian_def_sb2(e1, e2, e3) \ |
92 | volatile unsigned short e1;volatile unsigned char e2,e3 | 92 | volatile unsigned short e1;volatile unsigned char e2, e3 |
93 | #define endian_def_b2s(e1,e2,e3) \ | 93 | #define endian_def_b2s(e1, e2, e3) \ |
94 | volatile unsigned char e1,e2;volatile unsigned short e3 | 94 | volatile unsigned char e1, e2;volatile unsigned short e3 |
95 | #define endian_def_b4(e1,e2,e3,e4) \ | 95 | #define endian_def_b4(e1, e2, e3, e4) \ |
96 | volatile unsigned char e1,e2,e3,e4 | 96 | volatile unsigned char e1, e2, e3, e4 |
97 | #else | 97 | #else |
98 | #define endian_def_l2(e1,e2) \ | 98 | #define endian_def_l2(e1, e2) \ |
99 | volatile unsigned long e2,e1 | 99 | volatile unsigned long e2, e1 |
100 | #define endian_def_s2(e1,e2) \ | 100 | #define endian_def_s2(e1, e2) \ |
101 | volatile unsigned short e2,e1 | 101 | volatile unsigned short e2, e1 |
102 | #define endian_def_sb2(e1,e2,e3) \ | 102 | #define endian_def_sb2(e1, e2, e3) \ |
103 | volatile unsigned char e3,e2;volatile unsigned short e1 | 103 | volatile unsigned char e3, e2;volatile unsigned short e1 |
104 | #define endian_def_b2s(e1,e2,e3) \ | 104 | #define endian_def_b2s(e1, e2, e3) \ |
105 | volatile unsigned short e3;volatile unsigned char e2,e1 | 105 | volatile unsigned short e3;volatile unsigned char e2, e1 |
106 | #define endian_def_b4(e1,e2,e3,e4) \ | 106 | #define endian_def_b4(e1, e2, e3, e4) \ |
107 | volatile unsigned char e4,e3,e2,e1 | 107 | volatile unsigned char e4, e3, e2, e1 |
108 | #endif | 108 | #endif |
109 | 109 | ||
110 | 110 | ||
@@ -354,7 +354,7 @@ struct tx4938_ccfg_reg { | |||
354 | #define TX4938_NUM_IR_SIO 2 | 354 | #define TX4938_NUM_IR_SIO 2 |
355 | #define TX4938_IR_SIO(n) (8 + (n)) | 355 | #define TX4938_IR_SIO(n) (8 + (n)) |
356 | #define TX4938_NUM_IR_DMA 4 | 356 | #define TX4938_NUM_IR_DMA 4 |
357 | #define TX4938_IR_DMA(ch,n) ((ch ? 27 : 10) + (n)) /* 10-13,27-30 */ | 357 | #define TX4938_IR_DMA(ch, n) ((ch ? 27 : 10) + (n)) /* 10-13, 27-30 */ |
358 | #define TX4938_IR_PIO 14 | 358 | #define TX4938_IR_PIO 14 |
359 | #define TX4938_IR_PDMAC 15 | 359 | #define TX4938_IR_PDMAC 15 |
360 | #define TX4938_IR_PCIC 16 | 360 | #define TX4938_IR_PCIC 16 |