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