2008-10-05 02:25:44 -07: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 07:59:26 -07:00
|
|
|
|
|
|
|
#ifdef CONFIG_PCI
|
2008-10-05 02:25:44 -07: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 07:59:26 -07:00
|
|
|
#else
|
2008-10-05 02:25:44 -07: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 07:59:26 -07:00
|
|
|
#endif
|