diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2006-09-18 18:26:25 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-09-25 05:25:53 -0400 |
commit | c852ac80440db9b0a47f48578e9c6303078abbc1 (patch) | |
tree | 0c7fc1ca7700b0196a20242ca306003db7e35fb6 /include/asm-arm/arch-iop32x/hardware.h | |
parent | 475549faa161f4e002225f2ef75fdd2a6d83d151 (diff) |
[ARM] 3832/1: iop3xx: coding style cleanup
Since the iop32x code isn't iop321-specific, and the iop33x code isn't
iop331-specfic, do a s/iop321/iop32x/ and s/iop331/iop33x/, and tidy up
the code to conform to the coding style guidelines somewhat better.
Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/arch-iop32x/hardware.h')
-rw-r--r-- | include/asm-arm/arch-iop32x/hardware.h | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/include/asm-arm/arch-iop32x/hardware.h b/include/asm-arm/arch-iop32x/hardware.h index 16d0630ab252..6a3001f2f7e0 100644 --- a/include/asm-arm/arch-iop32x/hardware.h +++ b/include/asm-arm/arch-iop32x/hardware.h | |||
@@ -1,8 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * linux/include/asm-arm/arch-iop32x/hardware.h | 2 | * include/asm-arm/arch-iop32x/hardware.h |
3 | */ | 3 | */ |
4 | #ifndef __ASM_ARCH_HARDWARE_H | 4 | |
5 | #define __ASM_ARCH_HARDWARE_H | 5 | #ifndef __HARDWARE_H |
6 | #define __HARDWARE_H | ||
6 | 7 | ||
7 | #include <asm/types.h> | 8 | #include <asm/types.h> |
8 | 9 | ||
@@ -13,21 +14,23 @@ | |||
13 | * the IO resources. | 14 | * the IO resources. |
14 | * | 15 | * |
15 | * The PCI IO space is located at virtual 0xfe000000 from physical | 16 | * The PCI IO space is located at virtual 0xfe000000 from physical |
16 | * 0x90000000. The PCI BARs must be programmed with physical addresses, | 17 | * 0x90000000. The PCI BARs must be programmed with physical addresses, |
17 | * but when we read them, we convert them to virtual addresses. See | 18 | * but when we read them, we convert them to virtual addresses. See |
18 | * arch/arm/mach-iop3xx/iop3xx-pci.c | 19 | * arch/arm/plat-iop/pci.c. |
19 | */ | 20 | */ |
20 | |||
21 | #define pcibios_assign_all_busses() 1 | 21 | #define pcibios_assign_all_busses() 1 |
22 | #define PCIBIOS_MIN_IO 0x00000000 | 22 | #define PCIBIOS_MIN_IO 0x00000000 |
23 | #define PCIBIOS_MIN_MEM 0x00000000 | 23 | #define PCIBIOS_MIN_MEM 0x00000000 |
24 | 24 | ||
25 | #ifndef __ASSEMBLY__ | ||
26 | void iop32x_init_irq(void); | ||
27 | #endif | ||
28 | |||
25 | 29 | ||
26 | /* | 30 | /* |
27 | * Generic chipset bits | 31 | * Generic chipset bits |
28 | * | ||
29 | */ | 32 | */ |
30 | #include "iop321.h" | 33 | #include "iop32x.h" |
31 | 34 | ||
32 | /* | 35 | /* |
33 | * Board specific bits | 36 | * Board specific bits |
@@ -35,4 +38,5 @@ | |||
35 | #include "iq80321.h" | 38 | #include "iq80321.h" |
36 | #include "iq31244.h" | 39 | #include "iq31244.h" |
37 | 40 | ||
38 | #endif /* _ASM_ARCH_HARDWARE_H */ | 41 | |
42 | #endif | ||