blob: 93ffaaee75d715ff5fe14ee1dfb4acb2d57074ed [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001/* SPDX-License-Identifier: GPL-2.0 */
2extern void __cmx2xx_pci_init_irq(int irq_gpio);
3extern void __cmx2xx_pci_suspend(void);
4extern 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