2008-10-05 13:25:44 +04: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 18:59:26 +04:00
|
|
|
|
|
|
|
#ifdef CONFIG_PCI
|
2008-10-05 13:25:44 +04: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 18:59:26 +04:00
|
|
|
#else
|
2008-10-05 13:25:44 +04: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 18:59:26 +04:00
|
|
|
#endif
|