diff options
Diffstat (limited to 'kernel/arch/arm/mach-pxa/cm-x2xx-pci.h')
-rw-r--r-- | kernel/arch/arm/mach-pxa/cm-x2xx-pci.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/kernel/arch/arm/mach-pxa/cm-x2xx-pci.h b/kernel/arch/arm/mach-pxa/cm-x2xx-pci.h new file mode 100644 index 000000000..e24aad2e3 --- /dev/null +++ b/kernel/arch/arm/mach-pxa/cm-x2xx-pci.h @@ -0,0 +1,13 @@ +extern void __cmx2xx_pci_init_irq(int irq_gpio); +extern void __cmx2xx_pci_suspend(void); +extern void __cmx2xx_pci_resume(void); + +#ifdef CONFIG_PCI +#define cmx2xx_pci_init_irq(x) __cmx2xx_pci_init_irq(x) +#define cmx2xx_pci_suspend(x) __cmx2xx_pci_suspend(x) +#define cmx2xx_pci_resume(x) __cmx2xx_pci_resume(x) +#else +#define cmx2xx_pci_init_irq(x) do {} while (0) +#define cmx2xx_pci_suspend(x) do {} while (0) +#define cmx2xx_pci_resume(x) do {} while (0) +#endif |