aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/cm-x2xx-pci.h
diff options
context:
space:
mode:
authorMike Rapoport <mike@compulab.co.il>2008-10-07 06:58:25 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-10-07 07:05:04 -0400
commit7d76e3f171216757a2ea630d76442084f88a0b4c (patch)
tree6fe814cd0b88ace9cd549ddf9b81de2aad6f5836 /arch/arm/mach-pxa/cm-x2xx-pci.h
parentd48134e709d51d0ce74d0285e2684ecf38438c7a (diff)
[ARM] 5286/2: pxa: rename cm-x270* to cm-x2xx* to allow addition of cm-x255 support
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.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/cm-x2xx-pci.h b/arch/arm/mach-pxa/cm-x2xx-pci.h
new file mode 100644
index 000000000000..48f532f4cb51
--- /dev/null
+++ b/arch/arm/mach-pxa/cm-x2xx-pci.h
@@ -0,0 +1,13 @@
1extern void __cmx270_pci_init_irq(int irq_gpio);
2extern void __cmx270_pci_suspend(void);
3extern void __cmx270_pci_resume(void);
4
5#ifdef CONFIG_PCI
6#define cmx270_pci_init_irq(x) __cmx270_pci_init_irq(x)
7#define cmx270_pci_suspend(x) __cmx270_pci_suspend(x)
8#define cmx270_pci_resume(x) __cmx270_pci_resume(x)
9#else
10#define cmx270_pci_init_irq(x) do {} while (0)
11#define cmx270_pci_suspend(x) do {} while (0)
12#define cmx270_pci_resume(x) do {} while (0)
13#endif