summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/cm-x270-pci.h
diff options
context:
space:
mode:
authorMike Rapoport <mike@compulab.co.il>2007-09-23 16:59:26 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-10-15 19:53:57 +0200
commit3696a8a426f8caebd97463e9b5cf9f06c1c36759 (patch)
tree217d5ef3219b335f72360cfa7f0f1731443b09bb /arch/arm/mach-pxa/cm-x270-pci.h
parent[ARM] pxa: Avoid pxa_gpio_mode() in gpio_direction_{in,out}put() (diff)
downloadlinux-3696a8a426f8caebd97463e9b5cf9f06c1c36759.tar.xz
linux-3696a8a426f8caebd97463e9b5cf9f06c1c36759.zip
[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 000000000000..ffe37b66f9a0
--- /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