2008-10-05 11:25:44 +02:00
|
|
|
extern void __cmx2xx_pci_init_irq(int irq_gpio);
|
|
|
|
extern void __cmx2xx_pci_suspend(void);
|
|
|
|
extern void __cmx2xx_pci_resume(void);
|
2007-09-23 16:59:26 +02:00
|
|
|
|
|
|
|
#ifdef CONFIG_PCI
|
2008-10-05 11:25:44 +02:00
|
|
|
#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)
|
2007-09-23 16:59:26 +02:00
|
|
|
#else
|
2008-10-05 11:25:44 +02:00
|
|
|
#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)
|
2007-09-23 16:59:26 +02:00
|
|
|
#endif
|