-
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] 5280/1: pxa: prepare cm-x2xx.c and cm-x2xx-pci.[ch] for additio…
…n of CM-X255 - 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>
- Loading branch information
Mike Rapoport
authored and
Russell King
committed
Oct 7, 2008
1 parent
7d76e3f
commit da59193
Showing
4 changed files
with
126 additions
and
117 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(int irq_gpio); | ||
extern void __cmx270_pci_suspend(void); | ||
extern void __cmx270_pci_resume(void); | ||
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 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) | ||
#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 cmx270_pci_init_irq(x) do {} while (0) | ||
#define cmx270_pci_suspend(x) do {} while (0) | ||
#define cmx270_pci_resume(x) do {} while (0) | ||
#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 |
Oops, something went wrong.