rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 2 | extern void __cmx2xx_pci_init_irq(int irq_gpio); |
| 3 | extern void __cmx2xx_pci_suspend(void); |
| 4 | extern void __cmx2xx_pci_resume(void); |
| 5 | |
| 6 | #ifdef CONFIG_PCI |
| 7 | #define cmx2xx_pci_init_irq(x) __cmx2xx_pci_init_irq(x) |
| 8 | #define cmx2xx_pci_suspend(x) __cmx2xx_pci_suspend(x) |
| 9 | #define cmx2xx_pci_resume(x) __cmx2xx_pci_resume(x) |
| 10 | #else |
| 11 | #define cmx2xx_pci_init_irq(x) do {} while (0) |
| 12 | #define cmx2xx_pci_suspend(x) do {} while (0) |
| 13 | #define cmx2xx_pci_resume(x) do {} while (0) |
| 14 | #endif |