-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ARM] 5103/2: CM-X270: update core platform support
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>
- Loading branch information
Mike Rapoport
authored and
Russell King
committed
Jul 9, 2008
1 parent
3c85bce
commit 2f01a97
Showing
3 changed files
with
307 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
extern void __cmx270_pci_init_irq(void); | ||
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 __cmx270_pci_init_irq | ||
#define cmx270_pci_suspend __cmx270_pci_suspend | ||
#define cmx270_pci_resume __cmx270_pci_resume | ||
#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() do {} while (0) | ||
#define cmx270_pci_suspend() do {} while (0) | ||
#define cmx270_pci_resume() do {} while (0) | ||
#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 |
Oops, something went wrong.