Skip to contentSkip to conversation

ARM: S5PV310: Fix build error on GPIO map

PATCH New Kukjin Kim 1 participant 1 message Sep 9, 2010

Subsystems (3)
lore
Share & tools
lore

Kukjin Kim

author
#0 lore raw

PATCH 1/1 ARM: S5PV310: Fix build error on GPIO map

This patch fixes build error about GPIO address due to conflict of commit 4d914705 and 813067ce.

- commit 4d914705: Fix on GPIO base addresses
- commit 813067ce: Moves initial map for merging S5P64X0

---
 arch/arm/mach-s5pv310/cpu.c              |    2 +-
 arch/arm/mach-s5pv310/include/mach/map.h |    1 -
 2 files changed, 1 insertions(+), 2 deletions(-)
arch/arm/mach-s5pv310/cpu.c +1 -1
index 3b9c872..4add398 100644
@@ -57,7 +57,7 @@ static struct map_desc s5pv310_iodesc[] __initdata = {
 		.type		= MT_DEVICE,
 	}, {
 		.virtual	= (unsigned long)S5P_VA_GPIO,
-		.pfn		= __phys_to_pfn(S5PV310_PA_GPIO),
+		.pfn		= __phys_to_pfn(S5PV310_PA_GPIO1),
 		.length		= SZ_4K,
 		.type		= MT_DEVICE,
 	}, {
arch/arm/mach-s5pv310/include/mach/map.h +0 -1
index 204f386..aff6d23 100644
@@ -52,7 +52,6 @@
 #define S5PV310_PA_GPIO1		(0x11400000)
 #define S5PV310_PA_GPIO2		(0x11000000)
 #define S5PV310_PA_GPIO3		(0x03860000)
-#define S5P_PA_GPIO			S5PV310_PA_GPIO1
 
 #define S5PV310_PA_HSMMC(x)		(0x12510000 + ((x) * 0x10000))
 
Signature · 1 line
1.6.2.5