aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-pxa/cm-x270-pci.h
diff options
context:
space:
mode:
authorMike Rapoport <mike@compulab.co.il>2007-09-23 15:59:26 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-10-15 18:53:57 +0100
commit3696a8a426f8caebd97463e9b5cf9f06c1c36759 (patch)
tree217d5ef3219b335f72360cfa7f0f1731443b09bb /arch/arm/mach-pxa/cm-x270-pci.h
parent3e0cc7ee045fb53e8215fed7442455c0cee0ee93 (diff)
[ARM] 4576/1: CM-X270 machine support
This patch provides core support for CM-X270 platform. Signed-off-by: Mike Rapoport <mike@compulab.co.il> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-pxa/cm-x270-pci.h')
-rw-r--r--arch/arm/mach-pxa/cm-x270-pci.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/cm-x270-pci.h b/arch/arm/mach-pxa/cm-x270-pci.h
new file mode 100644
index 00000000000..ffe37b66f9a
--- /dev/null
+++ b/arch/arm/mach-pxa/cm-x270-pci.h
@@ -0,0 +1,13 @@
+extern void __cmx270_pci_init_irq(void);
+extern void __cmx270_pci_suspend(void);
+extern void __cmx270_pci_resume(void);
+
+#ifdef CONFIG_PCI
+#define cmx270_pci_init_irq __cmx270_pci_init_irq
+#define cmx270_pci_suspend __cmx270_pci_suspend
+#define cmx270_pci_resume __cmx270_pci_resume
+#else
+#define cmx270_pci_init_irq() do {} while (0)
+#define cmx270_pci_suspend() do {} while (0)
+#define cmx270_pci_resume() do {} while (0)
+#endif