| Mike Rapoport | da59193 | 2008-10-05 10:25:44 +0100 | [diff] [blame] | 1 | extern void __cmx2xx_pci_init_irq(int irq_gpio); | 
|  | 2 | extern void __cmx2xx_pci_suspend(void); | 
|  | 3 | extern void __cmx2xx_pci_resume(void); | 
| Mike Rapoport | 3696a8a | 2007-09-23 15:59:26 +0100 | [diff] [blame] | 4 |  | 
|  | 5 | #ifdef CONFIG_PCI | 
| Mike Rapoport | da59193 | 2008-10-05 10:25:44 +0100 | [diff] [blame] | 6 | #define cmx2xx_pci_init_irq(x) __cmx2xx_pci_init_irq(x) | 
|  | 7 | #define cmx2xx_pci_suspend(x) __cmx2xx_pci_suspend(x) | 
|  | 8 | #define cmx2xx_pci_resume(x) __cmx2xx_pci_resume(x) | 
| Mike Rapoport | 3696a8a | 2007-09-23 15:59:26 +0100 | [diff] [blame] | 9 | #else | 
| Mike Rapoport | da59193 | 2008-10-05 10:25:44 +0100 | [diff] [blame] | 10 | #define cmx2xx_pci_init_irq(x) do {} while (0) | 
|  | 11 | #define cmx2xx_pci_suspend(x) do {} while (0) | 
|  | 12 | #define cmx2xx_pci_resume(x) do {} while (0) | 
| Mike Rapoport | 3696a8a | 2007-09-23 15:59:26 +0100 | [diff] [blame] | 13 | #endif |