per_cpu: fix DEFINE_PER_CPU_SHARED_ALIGNED for modules
[linux-2.6/mini2440.git] / arch / arm / mach-pxa / cm-x270-pci.h
blobffe37b66f9a001c9290fc09e169263fb65caa4de
1 extern void __cmx270_pci_init_irq(void);
2 extern void __cmx270_pci_suspend(void);
3 extern void __cmx270_pci_resume(void);
5 #ifdef CONFIG_PCI
6 #define cmx270_pci_init_irq __cmx270_pci_init_irq
7 #define cmx270_pci_suspend __cmx270_pci_suspend
8 #define cmx270_pci_resume __cmx270_pci_resume
9 #else
10 #define cmx270_pci_init_irq() do {} while (0)
11 #define cmx270_pci_suspend() do {} while (0)
12 #define cmx270_pci_resume() do {} while (0)
13 #endif