diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2008-05-10 10:30:01 -0400 |
---|---|---|
committer | Lennert Buytenhek <buytenh@marvell.com> | 2008-06-22 16:44:39 -0400 |
commit | e7068ad337a991fba627148a4a57939fdc1e6a2d (patch) | |
tree | 6fcfe2a48ffe83b8ccb9539333ee6c2b60d779d7 /arch/arm/mach-orion5x/pci.c | |
parent | f91a8dcc25398c5d708056de081d6cebf3f2023e (diff) |
[ARM] Orion: fix various whitespace and coding style issues
More cosmetic cleanup:
- Replace 8-space indents by proper tab indents.
- In structure initialisers, use a trailing comma for every member.
- Collapse "},\n{" in structure initialiers to "}, {".
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Acked-by: Russell King <linux@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-orion5x/pci.c')
-rw-r--r-- | arch/arm/mach-orion5x/pci.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/arm/mach-orion5x/pci.c b/arch/arm/mach-orion5x/pci.c index 9d5d39fa19c3..1bbfe24607b0 100644 --- a/arch/arm/mach-orion5x/pci.c +++ b/arch/arm/mach-orion5x/pci.c | |||
@@ -240,13 +240,13 @@ static int __init pcie_setup(struct pci_sys_data *sys) | |||
240 | * PCI Address Decode Windows registers | 240 | * PCI Address Decode Windows registers |
241 | */ | 241 | */ |
242 | #define PCI_BAR_SIZE_DDR_CS(n) (((n) == 0) ? ORION5X_PCI_REG(0xc08) : \ | 242 | #define PCI_BAR_SIZE_DDR_CS(n) (((n) == 0) ? ORION5X_PCI_REG(0xc08) : \ |
243 | ((n) == 1) ? ORION5X_PCI_REG(0xd08) : \ | 243 | ((n) == 1) ? ORION5X_PCI_REG(0xd08) : \ |
244 | ((n) == 2) ? ORION5X_PCI_REG(0xc0c) : \ | 244 | ((n) == 2) ? ORION5X_PCI_REG(0xc0c) : \ |
245 | ((n) == 3) ? ORION5X_PCI_REG(0xd0c) : 0) | 245 | ((n) == 3) ? ORION5X_PCI_REG(0xd0c) : 0) |
246 | #define PCI_BAR_REMAP_DDR_CS(n) (((n) ==0) ? ORION5X_PCI_REG(0xc48) : \ | 246 | #define PCI_BAR_REMAP_DDR_CS(n) (((n) == 0) ? ORION5X_PCI_REG(0xc48) : \ |
247 | ((n) == 1) ? ORION5X_PCI_REG(0xd48) : \ | 247 | ((n) == 1) ? ORION5X_PCI_REG(0xd48) : \ |
248 | ((n) == 2) ? ORION5X_PCI_REG(0xc4c) : \ | 248 | ((n) == 2) ? ORION5X_PCI_REG(0xc4c) : \ |
249 | ((n) == 3) ? ORION5X_PCI_REG(0xd4c) : 0) | 249 | ((n) == 3) ? ORION5X_PCI_REG(0xd4c) : 0) |
250 | #define PCI_BAR_ENABLE ORION5X_PCI_REG(0xc3c) | 250 | #define PCI_BAR_ENABLE ORION5X_PCI_REG(0xc3c) |
251 | #define PCI_ADDR_DECODE_CTRL ORION5X_PCI_REG(0xd3c) | 251 | #define PCI_ADDR_DECODE_CTRL ORION5X_PCI_REG(0xd3c) |
252 | 252 | ||