]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: versatile: remove overlapping map_desc entry
authorRob Herring <rob.herring@calxeda.com>
Thu, 29 Sep 2011 18:18:29 +0000 (13:18 -0500)
committerNicolas Pitre <nico@fluxnic.net>
Fri, 18 Nov 2011 18:51:18 +0000 (13:51 -0500)
The map_desc for VERSATILE_GPIO0_BASE overlaps with VERSATILE_SCTL_BASE.
The overlapping entry can be removed.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
arch/arm/mach-versatile/core.c

index e340a54251df5d1245f1e913c91587fb23f48fd7..4d8dfc15f3e6d21fcc347cebb7a3f15d2866747f 100644 (file)
@@ -141,11 +141,6 @@ static struct map_desc versatile_io_desc[] __initdata = {
        },
 #ifdef CONFIG_MACH_VERSATILE_AB
        {
-               .virtual        =  IO_ADDRESS(VERSATILE_GPIO0_BASE),
-               .pfn            = __phys_to_pfn(VERSATILE_GPIO0_BASE),
-               .length         = SZ_4K,
-               .type           = MT_DEVICE
-       }, {
                .virtual        =  IO_ADDRESS(VERSATILE_IB2_BASE),
                .pfn            = __phys_to_pfn(VERSATILE_IB2_BASE),
                .length         = SZ_64M,