summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/cm-x270-pci.h
diff options
context:
space:
mode:
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 0000000..ffe37b6
--- /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
OpenPOWER on IntegriCloud