diff options
author | Mike Rapoport <mike@compulab.co.il> | 2008-10-05 05:25:44 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-10-07 07:05:05 -0400 |
commit | da591937ba8c3a98ced845247859693a27543863 (patch) | |
tree | 93ae125daa920e2f844f10f2392484caff2e6d6e /arch/arm/mach-pxa/cm-x2xx-pci.h | |
parent | 7d76e3f171216757a2ea630d76442084f88a0b4c (diff) |
[ARM] 5280/1: pxa: prepare cm-x2xx.c and cm-x2xx-pci.[ch] for addition of CM-X255
- Change CM-X255 and CM-X270 common function prefix from cmx270 to cmx2xx
- Split cmx2xx_init to common and CM-X270-specific parts
- Use dynamic assignement for DM9000 resources and led GPIOs.
Signed-off-by: Russ Dill <russ.dill@gmail.com>
Signed-off-by: Mike Rapoport <mike@compulab.co.il>
Acked-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pxa/cm-x2xx-pci.h')
-rw-r--r-- | arch/arm/mach-pxa/cm-x2xx-pci.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/arch/arm/mach-pxa/cm-x2xx-pci.h b/arch/arm/mach-pxa/cm-x2xx-pci.h index 48f532f4cb51..e24aad2e3ad7 100644 --- a/arch/arm/mach-pxa/cm-x2xx-pci.h +++ b/arch/arm/mach-pxa/cm-x2xx-pci.h | |||
@@ -1,13 +1,13 @@ | |||
1 | extern void __cmx270_pci_init_irq(int irq_gpio); | 1 | extern void __cmx2xx_pci_init_irq(int irq_gpio); |
2 | extern void __cmx270_pci_suspend(void); | 2 | extern void __cmx2xx_pci_suspend(void); |
3 | extern void __cmx270_pci_resume(void); | 3 | extern void __cmx2xx_pci_resume(void); |
4 | 4 | ||
5 | #ifdef CONFIG_PCI | 5 | #ifdef CONFIG_PCI |
6 | #define cmx270_pci_init_irq(x) __cmx270_pci_init_irq(x) | 6 | #define cmx2xx_pci_init_irq(x) __cmx2xx_pci_init_irq(x) |
7 | #define cmx270_pci_suspend(x) __cmx270_pci_suspend(x) | 7 | #define cmx2xx_pci_suspend(x) __cmx2xx_pci_suspend(x) |
8 | #define cmx270_pci_resume(x) __cmx270_pci_resume(x) | 8 | #define cmx2xx_pci_resume(x) __cmx2xx_pci_resume(x) |
9 | #else | 9 | #else |
10 | #define cmx270_pci_init_irq(x) do {} while (0) | 10 | #define cmx2xx_pci_init_irq(x) do {} while (0) |
11 | #define cmx270_pci_suspend(x) do {} while (0) | 11 | #define cmx2xx_pci_suspend(x) do {} while (0) |
12 | #define cmx270_pci_resume(x) do {} while (0) | 12 | #define cmx2xx_pci_resume(x) do {} while (0) |
13 | #endif | 13 | #endif |