https://github.com/torvalds/linux
Raw File
Tip revision: c56eb8fb6dccb83d9fe62fd4dc00c834de9bc470 authored by Linus Torvalds on 18 January 2011, 23:14:02 UTC
Linux 2.6.38-rc1
Tip revision: c56eb8f
cm-x2xx-pci.h
extern void __cmx2xx_pci_init_irq(int irq_gpio);
extern void __cmx2xx_pci_suspend(void);
extern void __cmx2xx_pci_resume(void);

#ifdef CONFIG_PCI
#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)
#else
#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)
#endif
back to top