Skip to content

Commit

Permalink
ARM: S5PV310: Fix build error on GPIO map
Browse files Browse the repository at this point in the history
This patch fixes build error about GPIO address due to
conflict of commit 4d91470 and 19a2c06.

- commit 4d91470: Fix on GPIO base addresses
- commit 19a2c06: Moves initial map for merging S5P64X0

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
  • Loading branch information
Kukjin Kim committed Oct 18, 2010
1 parent 138a6c7 commit fe0cdec
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion arch/arm/mach-s5pv310/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}, {
Expand Down
1 change: 0 additions & 1 deletion arch/arm/mach-s5pv310/include/mach/map.h
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit fe0cdec

Please sign in to comment.