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