diff options
author | Tony Lindgren <tony@atomide.com> | 2009-03-23 21:07:37 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2009-03-23 21:07:37 -0400 |
commit | ec7558a62d2e28ec607fdfab1cd39b475d929ce5 (patch) | |
tree | 242762b2b47a9d07d127bbb154650b022662d7db /arch/arm/mach-omap2/board-ldp.c | |
parent | 40662d77311d8de3a26c33f2fd5a2d4d810a4c8a (diff) |
ARM: OMAP: No need to include board-ldp.h from hardware.h
Move the defines to the associated board file and remove
the now unnecessary header file. Also rename
OMAP34XX_ETHR_START to LDP_ETHR_START.
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-ldp.c')
-rw-r--r-- | arch/arm/mach-omap2/board-ldp.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/board-ldp.c b/arch/arm/mach-omap2/board-ldp.c index 6031e179926b..f035d7836e55 100644 --- a/arch/arm/mach-omap2/board-ldp.c +++ b/arch/arm/mach-omap2/board-ldp.c | |||
@@ -28,7 +28,6 @@ | |||
28 | #include <asm/mach/arch.h> | 28 | #include <asm/mach/arch.h> |
29 | #include <asm/mach/map.h> | 29 | #include <asm/mach/map.h> |
30 | 30 | ||
31 | #include <mach/board-ldp.h> | ||
32 | #include <mach/mcspi.h> | 31 | #include <mach/mcspi.h> |
33 | #include <mach/gpio.h> | 32 | #include <mach/gpio.h> |
34 | #include <mach/board.h> | 33 | #include <mach/board.h> |
@@ -41,12 +40,15 @@ | |||
41 | 40 | ||
42 | #include "mmc-twl4030.h" | 41 | #include "mmc-twl4030.h" |
43 | 42 | ||
44 | #define SDP3430_SMC91X_CS 3 | 43 | #define LDP_SMC911X_CS 1 |
44 | #define LDP_SMC911X_GPIO 152 | ||
45 | #define DEBUG_BASE 0x08000000 | ||
46 | #define LDP_ETHR_START DEBUG_BASE | ||
45 | 47 | ||
46 | static struct resource ldp_smc911x_resources[] = { | 48 | static struct resource ldp_smc911x_resources[] = { |
47 | [0] = { | 49 | [0] = { |
48 | .start = OMAP34XX_ETHR_START, | 50 | .start = LDP_ETHR_START, |
49 | .end = OMAP34XX_ETHR_START + SZ_4K, | 51 | .end = LDP_ETHR_START + SZ_4K, |
50 | .flags = IORESOURCE_MEM, | 52 | .flags = IORESOURCE_MEM, |
51 | }, | 53 | }, |
52 | [1] = { | 54 | [1] = { |