mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-29 13:00:35 +00:00
2f01a97372
Convert CM-X270 pin configuration to use MFP tables. Make device initialization dependent on respective driver CONFIG_ value (like in zylonite). Cleanup includes 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 __cmx270_pci_init_irq(int irq_gpio);
|
|
extern void __cmx270_pci_suspend(void);
|
|
extern void __cmx270_pci_resume(void);
|
|
|
|
#ifdef CONFIG_PCI
|
|
#define cmx270_pci_init_irq(x) __cmx270_pci_init_irq(x)
|
|
#define cmx270_pci_suspend(x) __cmx270_pci_suspend(x)
|
|
#define cmx270_pci_resume(x) __cmx270_pci_resume(x)
|
|
#else
|
|
#define cmx270_pci_init_irq(x) do {} while (0)
|
|
#define cmx270_pci_suspend(x) do {} while (0)
|
|
#define cmx270_pci_resume(x) do {} while (0)
|
|
#endif
|