Blame view

kernel/linux-imx6_3.14.28/arch/arm/mach-pxa/cm-x2xx-pci.h 460 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
  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