]> git.proxmox.com Git - mirror_ubuntu-kernels.git/blame - arch/arm/mach-pxa/cm-x2xx-pci.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[mirror_ubuntu-kernels.git] / arch / arm / mach-pxa / cm-x2xx-pci.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
da591937
MR
2extern void __cmx2xx_pci_init_irq(int irq_gpio);
3extern void __cmx2xx_pci_suspend(void);
4extern void __cmx2xx_pci_resume(void);
3696a8a4
MR
5
6#ifdef CONFIG_PCI
da591937
MR
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)
3696a8a4 10#else
da591937
MR
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)
3696a8a4 14#endif