mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 18:11:56 +00:00
da591937ba
- Change CM-X255 and CM-X270 common function prefix from cmx270 to cmx2xx - Split cmx2xx_init to common and CM-X270-specific parts - Use dynamic assignement for DM9000 resources and led GPIOs. Signed-off-by: Russ Dill <russ.dill@gmail.com> Signed-off-by: Mike Rapoport <mike@compulab.co.il> Acked-by: Eric Miao <eric.miao@marvell.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
14 lines
460 B
C
14 lines
460 B
C
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
|