ARM: S5PV310: Fix build error on GPIO map
authorKukjin Kim <kgene.kim@samsung.com>
Thu, 9 Sep 2010 12:57:29 +0000 (21:57 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 18 Oct 2010 23:02:57 +0000 (08:02 +0900)
This patch fixes build error about GPIO address due to
conflict of commit 4d914705 and 19a2c065.

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

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s5pv310/cpu.c
arch/arm/mach-s5pv310/include/mach/map.h

index 3b9c872ed68d6c53f1e95c98a41699e239e0f2cf..4add39853ff9dcf34f3e3c4aeeb25ea8e194da80 100644 (file)
@@ -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,
        }, {
index 204f386a3b6b7ad9754ef110e49d851c2f23ee88..aff6d23624bb6d457e118ee7381a004a79968ceb 100644 (file)
@@ -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))