From: Eric Miao Date: Wed, 13 Oct 2010 02:38:56 +0000 (+0800) Subject: ARM: pxa: remove un-used mapping of camera registers X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=ead67b6e6679b14befb0cef59db60e2853e19cd8;p=deliverable%2Flinux.git ARM: pxa: remove un-used mapping of camera registers The camera registers start and range are encoded into the platform device, and are actually handled by ioremap()'ed, thus the mapping in pxa_map_io() is not necessary. Signed-off-by: Eric Miao --- diff --git a/arch/arm/mach-pxa/generic.c b/arch/arm/mach-pxa/generic.c index 6451e9c3a93f..69a89fe4ce8d 100644 --- a/arch/arm/mach-pxa/generic.c +++ b/arch/arm/mach-pxa/generic.c @@ -102,11 +102,6 @@ static struct map_desc standard_io_desc[] __initdata = { .pfn = __phys_to_pfn(0x48000000), .length = 0x00200000, .type = MT_DEVICE - }, { /* Camera */ - .virtual = 0xfa000000, - .pfn = __phys_to_pfn(0x50000000), - .length = 0x00100000, - .type = MT_DEVICE }, { /* IMem ctl */ .virtual = 0xfe000000, .pfn = __phys_to_pfn(0x58000000),